android - 在普通 Android 浏览器(不是 Chrome!)上调试网站

标签 android html css remote-debugging android-browser

问题很简单:如何在 Android stock 浏览器上调试网站?我知道 remote debugging feature ,但它只能通过 Android 版 Chrome 使用(对我来说非常无用 - 网站仅在标准浏览器上显示不正确)。

最佳答案

weinre is WEb INspector REmote. Pronounced like the word "winery". Or maybe like the word "weiner". Who knows, really.

weinre is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone.

http://people.apache.org/~pmuellr/weinre/docs/latest

来源:

Libraries not supported

versions of Prototype.js before version 1.7 are not supported, as they do not support the JSON.stringify() API correctly. You will get an alert() in the web page you are debugging if you attempt to debug it with weinre and you are using an unsupported version of Prototype.js. Platforms supported - debug server

Any platform that supports node.js.

Platforms supported - debug client

The browser where the debugger user interface runs.

Google Chrome Apple Safari Other recent-ish WebKit-based browsers Platforms supported - debug target

The browser with the page you are debugging.

Android Browser application iOS Mobile Safari application PhoneGap/Cordova other Platforms not supported - debug target

iOS 3.1.3 or earlier webOS 1.45 or earlier

关于android - 在普通 Android 浏览器(不是 Chrome!)上调试网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27315671/

相关文章:

android - 防止android项目加载原生库

jquery - 修复了宽度列表项和垂直对齐问题

javascript - Polymer 修复搞乱了 Javascript

html - 如何在 HTML 元素上一致地设置背景图像

html - 为什么 vertical-align CSS 属性不起作用并且不会将 span 放在其父级的中间高度?

安卓动画列表

android - 当上下文操作模式处于 Activity 状态时,如何更改 ListView 中所选图像的颜色?

android - 支持的最低 Gradle 版本为 4.6。当前版本是 4.1

html - 将 div 置于其他内容之上

javascript - 调整打印样式表的页面宽度