var myManifest = { Debug: (window.location.port !== ""), Name: "Il Management", Version: "0.3.0.1", Author: "Denis Ironi", Settings: { DefaultURL: (window.location.port === "" ? "http://" + window.location.host + "/Service": "http://" + window.location.hostname + ":" + window.location.port + "/Service_Manut"), JQueryVersion: "1.11.1", Device:{ Width: (window.innerWidth > 0) ? window.innerWidth : screen.width, Height: (window.innerHeight > 0) ? window.innerHeight : screen.height } }, Agent: (new UAParser()).getResult(), getUrlArg: function(){ return this.Version; } };