0

您好,我是 Weinre 的新手,我需要调试我的网站,当使用 IOS 平台打开时,我的网站看起来很奇怪。所以我正在使用Weinre来调试它。我安装了该工具并测试了它与服务器本身的演示目标一起运行。现在我需要将我的网站添加为目标并使用 iphon(或 ipad)运行它并使用 Weinre 对其进行调试。我不知道如何将我的网站添加为目标,我无法手动添加

<script src="http://123.456.7.89:8080/target/target-script-min.js#anonymous"></script>

脚本(无权手动更改页面)。那么如何使用 Weinre 进行调试?谢谢

4

1 回答 1

0

You can try using a bookmarklet. The main weinre server page actually has a bookmarklet in it, for itself, that you should be able to use directly, if you can figure out how to set up a bookmarklet for your device. This seems to change release-release for mobile browsers, so you might want to do a google search on "bookmarklet" and your device's name or the OS release, to see if anyone has any tips.

于 2015-04-08T03:14:22.067 回答