How to check window object for mobile safari?
Or, more specifically, window.navigator - trying to convert to a string does not work, and I cannot examine it in the console.
Thank!
EDIT:
console.log(window.navigator);
console.log(String(window.navigator));
console.log(JSON.stringify(window.navigator));
console.log(window.navigator.serialize());
I also tried to send all these options via socket to the server and register them there.
Output: [object Navigator] , "{}" or nothing
javascript jquery safari iphone mobile
fancy Jun 01 '11 at 19:26 2011-06-01 19:26
source share