jQuery mobile fails in the Opera Mini browser. How to get error output?

微笑、不失礼 提交于 2019-12-01 12:56:38

问题


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.

  1. Load your page in Opera (desktop)
  2. Right click anywhere and Inspect element
  3. Click "Remote debug" (top right buttons)
  4. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!