on 03-19-2024 9:40 AM
So the device.js gives us valuable Information regarding the Device on which the App is running,
but it makes a mistake at calculation the right browser for Motorola Edge phones.
Since the userAgent data of the phon looks like:
"Mozilla/5.0 (Linux; Android 13; motorola edge 40 Build/T2TL33.3-62-3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.119 Mobile Safari/537.36"
It calculates (regex) the browser unfortunatly as EDGE instead of Chrome,
which in turn is bad as in the openWindow.js it does not the right thing in the openWindow function:):
// ensure that, in IE11 or Edge, opener cannot be accessed by early code
if (Device.browser.msie || Device.browser.edge) {
var oNewWindow = window.open("about:blank", sWindowName, sWindowFeatures);
...
}
return window.open(sUrl, sWindowName, sWindowFeatures);
};
return fnOpenWindow;
});
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.