How to install Firebug lite IE8?

只谈情不闲聊 提交于 2019-12-31 11:42:47

问题


So we have reached that stage in a web dev project where we need to see how things look in IE.

Sigh.

So the fabulous Firebug is not available for IE. But a lite version is - as a bookmarklet, and is apparently compatible with IE6+. But how the how the hell do I add a bookmarklet to IE8?

I am unable to drag and drop to the Favourites bar (is this the same as bookmarks?). I can't add it through the Favourites add option as it contains "illegal" characters.

So how do I do this? All I want to do is inspect the DOM.

Thanks


回答1:


this is how I did it (IE 8.0.7600.16385 on Win7):

  • Go to some Firebug Lite page (http://getfirebug.com/firebuglite).
  • Click the "add to Favorites Bar" button on the Favorites Bar.
  • This will give you a bookmark to http://getfirebug.com/firebuglite.
  • click on the "Firebug Lite" link in Firebug Lite page (http://getfirebug.com/firebuglite).
    • properties poup will be open. Copy the URL within the popup
    • Right click on your new bookmark and choose Properties.
  • Paste the URL into the URL box and close.
  • If you hover over the new bookmark, it should show javascript:(function(F,i,r,e,b,u,g,L,I,T,E)... etc instead of the link.



回答2:


Please use this in your jsp

<script type="text/javascript" src="https://getfirebug.com/firebug-lite-debug.js"></script>

and you are done.



来源:https://stackoverflow.com/questions/4716164/how-to-install-firebug-lite-ie8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!