在ipad,iphon上使用FireBug调试

用ipad或者iphone打开一个网页,加入到收藏夹。收藏夹的名字改为firebug,地址输入:

javascript:(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F[i+'NS']&&F.documentElement.namespaceURI;E=E?F[i+'NS'](E,'script'):F[i]('script');E[r]('id',b);E[r]('src',I+g+T);E[r](b,u);(F[e]('head')[0]||F[e]('body')[0]).appendChild(E);E=new%20Image;E[r]('src',I+L);})(document,'createElement','setAttribute','getElementsByTagName','FirebugLite','4','firebug-lite.js','releases/lite/latest/skin/xp/sprite.png','https://getfirebug.com/','#startOpened');


然后点击存储保存该收藏夹。

打开要调试的应用程序,然后点击收藏夹中的firebug即可打开调试页面。

猜你喜欢

转载自blog.csdn.net/xinghui_liu/article/details/22151251