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
Colin Pickard
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.
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