after some time googel'ing I decided to ask for help on SO.
Is there a possibilty to debug iphone/ipad mobile safari browser on windows?
I read the tip in iPhone Browser simulator for Windows? to set the user agent of safari to the one of iphone/ipad but it didn't help.
My problem is the following:
I have a page what uses JavaScript and the page works fine in:
desktop firefox + waterbox, IE, Opera, Chrome, Safari (Safari user agent), Safari (iphone/ipdad user agent)
But it the JS doesn't work when I use the page with my fully updated iphone / ipad with its up-to-date mobile safari.
I know desktop safari is only version 5 with unknown if safari 6 will ever come - so I think that the user agents of this safari version are possibly "outdated".
Any suggestions how I can debug my page under iphone/ipad circumstances to find my mistake?
Thanks in advance
Related
I have been trying to google around for a few days to find some kind of answer, but is their a difference between how iOS mobile devices understand JavaScript, vs Android?
I currently have some code that works as expected on Android (Chrome/Edge), and on Windows (Chrome, Edge, IE 8). But once we get to iOS devices, it doesn't work as expected.
I also tried to see if I could find an emulator for iOS mobile, or just downloading the mobile Safari browser, but wasn't able to find one (that didn't have a cost related to it).
I found the issue, it was related to the selectors in the code not being completed - Chrome got it, but safari didn't.
i have created a page which is optimized for iOS Safari, now i want to add a link on my page to redirect the user to the same page but by opening the safari browser, if the user is using chrome iOS. Is there a way to do it? I have found this answer(JavaScript for iPhone to open in Safari from non-default iOS browser) but it seems to be not supported anymore.
Thanks in advance for an answer.
We just launched a website for a client, but we've run into some weird issues (like images only loading half-way) on Safari on iPhone.
While trying to troubleshoot the issue, I checked for errors in inspect element with my phone hooked up to the macbook, and I see these three errors come up when I tap refresh:
We've only discovered these on mobile Safari so far. We've tested the site on Windows, OSX, Firefox, Safari, Firefox, and Chrome iOS, and the only place where we see the issue is Safari on iOS. Everywhere else the site loads beautifully.
Has anyone run into this before?
I connected my iPad device running iOS 9 beta version to Mac Running Yosemite 10.10.5 and not getting option to inspect in Safari 8.0.8 under Develop menu.
Things i did
In device settings->safari->Enabled Web inspector and JavaScript.
In Safari preferences on Mac machine enabled "Show Develop menu in
menu bar".
Any help is appreciated.
Thanks
Not sure about iOS9, but for previous versions you needed to use new beta version of desktop Safari to debug beta version of mobile Safari. Probably this is the same problem.
There exist javascript APIs for adding bookmarks to browser using javascript, but it works only on Desktop
Firefox
window.sidebar.addPanel(location.href,document.title,"");
IE
window.external.AddFavorite(location.href,document.title);
http://www.hostingfanatic.com/webdev/add-to-bookmarks-javascript/
The above site hosts the code for it, the functionality works in Desktop FireFox and InternetExplorer but not in Desktop chrome or Safari.
The add bookmark also doesnt work on android default browser or android FireFox browser.
It also doesnt work on IOS Safari, on IPad 1 and IPad 2
Is there any javascript API that allows the add bookmark functionality programmatically via javascript in mobile browsers?
If not, is there any other way to achieve this programmatically in mobile browsers?
Also will Phonegap or rooting the android phone, help in any way to achieve this?
I am open to all views.