iPad firebug lite或类似的 [英] iPad firebug lite or similar

查看:132
本文介绍了iPad firebug lite或类似的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了很多关于如何让firebug lite在iPad上工作的博客,以及我可以收集它在某些时候工作但是暂时没有工作的博客。我不能让自己工作。

I have read lots of blogs about how to get firebug lite to work on the iPad and from what i can gather it worked at some point but hasn't worked in awhile. I can't get it to work myself.

所以我的问题是,最近有人拿过firebug lite或类似的东西在iPad上工作。随着iPad如此受欢迎,我发现它还没有一个好的可靠的开发工具。特别是因为根据我的经验,它不会经常呈现预期的网页,需要特定的调整。

So my question is has anyone gotten firebug lite or something simliar to work on the iPad recently. With the iPad being so popular I find it amazing that there isn't a good solid developer tool out there for it yet. Especially because in my experience it doesn't render web pages as expected quite often and needs specific tweaking.

为了停止一些快速回复,我已经知道它是一个webkit浏览器,我发现的问题只出现在iphone和ipad上,而不是在chrome或者桌面上苹果浏览器。所以我真的很想要一个原生于ipad本身的解决方案。

Just to stop some quick replies, I already know its a webkit browser and the issues that I have spotted only show up on the iphone and ipad, not in chrome or desktop safari. So i really would love a solution that is native to the ipad itself.

推荐答案

以下建议适用于运行IOS6的iPad3。

The suggestion below worked for me on an iPad3 running IOS6.

此技术来自 http:// www.jamesmacfie.com/2012/03/debug-your-html-css-on-the-ipadiphone/

在iPad上为任何网站添加书签然后编辑地址。粘贴以下代码:

Bookmark any site on iPad then edit the address. Paste in the following code:

  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');

这篇关于iPad firebug lite或类似的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆