Is there anything like Firebug that you can use within Google Chrome?
Essential features I would like:
- Inspect HTML source (select elements, delete them, etc.)
- check CSS values (the built-in solution is weird, somehow)
Is there anything like Firebug that you can use within Google Chrome?
Essential features I would like:
While it's true that Google Chrome does not offer plug-ins, there is a Firebug-like tool already built into Chrome. Just right click anywhere on a page and choose "Inspect element" from the menu. Chrome inspector won't do JavaScript debugging* (like Firebug), but it does CSS inspection well and can even change CSS rendering on the fly.
*Correction: since this response was written, Chrome has replaced its command line debugger with a graphical tool (like in Firebug). So you can debug JavaScript, although some features (like GUI watch variables) are missing.
Firebug Lite supports to inspect HTML elements, computed CSS style, and a lot more. Since it's pure JavaScript, it works in many different browsers. Just include the script in your source, or add the bookmarklet to your bookmark bar to include it on any page with a single click.
Well, it is possible to enable Greasemonkey scripts for Google Chrome so maybe there is a way to sort of install Firebug using this method? Firebug Lite would also work, but it's just not the same feeling as using the full featured one :(
willshouse.com/2009/05/29/install-greasemonkey-for-chrome-a-better-guide/
You can set this bookmarklet in your "Bookmarks Bar" in order to have Firebug lite always available in Chrome/Chromium browser (put this as the URL):
javascript:var firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);
Try this, it's called Firebug Lite and apparently works with the beta version of Chrome.
https://chrome.google.com/extensions/detail/bnbbfjbeaefgipfjpdabmpadaacmafkj
The official Firebug Chrome extension or you can download and package the extension yourself. http://bit.ly/anKlnN.
Manuel's answer is excellent. And I think if one is offline, just change the src reference to point to a local one would suffice, haven't try it but why not?
This doesn't answer your question but, in case you missed it, Web Developer is now available for Chrome: https://chrome.google.com/extensions/detail/bfbameneiokkgbdmiekhjnmfkcnldhhm.
jQuerify is the perfect extension to embed jQuery into Chrome Console and is as simple as you can imagine. This extension also indicates if jQuery has been already embedded into a page.
This extension is used to embed jQuery into any page you want. It allows to use jQuery in the console shell (You can invoke Chrome console by Ctrl + Shift + j".).
To embed jQuery into the selected tab click on extension button.
If you are using Chromium on Ubuntu using the nightly ppa, then you should have the chromium-browser-inspector