问题
I have a jQuery Mobile website that works great on normal browsers, but it fails when using Opera Mini or Opera Mobile. I cannot get any error message. All I see is the jQuery mobile loading when viewed using Opera.
The application seems to work on other browsers. Here is a link to the site so as you view through Opera Mini: demo.
What is the output, so I know what Opera Mini is failing on? I googled to no avail.
回答1:
Could it be because Opera Mini has a limited amount of JavaScript support?
Your best bet would be to rewrite what you need for Opera from the current support documentation guidelines from Opera Mini: web content authoring guidelines, JavaScript support.
回答2:
You can use Opera Mobile Emulator together with an older version of Opera that has the Dragonfly inspector (replaced in newer versions with Webkit Inspector) and remote debug your website.
- Load your page in Opera (desktop)
- Right click anywhere and Inspect element
- Click "Remote debug" (top right buttons)
- Visit "opera:debug" in mobile emulator and connect
来源:https://stackoverflow.com/questions/12863268/jquery-mobile-fails-in-the-opera-mini-browser-how-to-get-error-output