html - iPad firebug lite 或类似软件

标签 html ipad firebug

我已经阅读了很多关于如何让 firebug lite 在 iPad 上运行的博客,并且从我收集到的信息来看,它在某些时候可以运行,但有一段时间没有运行了。我无法让它自己工作。

所以我的问题是最近有没有人得到 firebug lite 或类似的东西来在 iPad 上工作。随着 iPad 的流行,我发现现在还没有一个好的、可靠的开发工具适用于它,这让我很惊讶。特别是因为根据我的经验,它不会经常按预期呈现网页,需要进行特定的调整。

只是为了停止一些快速回复,我已经知道它是一个 webkit 浏览器,我发现的问题只出现在 iphone 和 ipad 上,不会出现在 chrome 或桌面 safari 中。所以我真的很喜欢 ipad 本身的解决方案。

最佳答案

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

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

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

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

关于html - iPad firebug lite 或类似软件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11639346/

相关文章:

debugging - 如何在 firebug 中导致调试中断

iOS:如何将 UITableViewCell 附件按钮移至左侧

html - JSF 组件作为 css 样式的选择器

html - 如何关闭父窗口的滚动?

javascript - getElementById 到 getElementsByClassName

iphone - 如何使 iphone 和 iphone4-retina 兼容的应用程序(在 cocos2d 中完成)轻松适应 ipad?

iphone - AVPlayer Streaming - 在特定时间播放流

ios - 如何获取流式直播视频 HLS 的 token

javascript - Firebug 控制台错误

javascript - 将CSS添加到没有标签的文本