| home | forums | resources | search | news | join | members: 6057 |
Hiveminds | Tue, 2008-04-29 15:03 tags: Developer Zone, Firebug, News There have been a few websites giving notice to Opera's soon to come developer tool, Dragonfly. Dragonfly is a javascript debugging tool for the Opera web browser. Microsoft is also coming out with its own javascript debugger in a developer tools package. But is having a bunch of debugger tools in each web browser what developers want? Probably not. Luckily The makers of Firebug have come up with a solution. It's called Firebug Lite. Firebug is an extension for Firefox, but what happens when you need to test your pages in Internet Explorer, Opera, and Safari? If you are using
console.log()
The solution is Firebug Lite, a JavaScript file you can insert into your pages to simulate the Firebug console in browsers that are not named "Firefox". Installing Firebug LiteFirst, download firebuglite.zip and unzip it into any directory on your web server. Then insert this line of code into any page that you want to contain Firebug:
<script language="javascript" type="text/javascript"If you don't care to simulate the Firebug console, but you want to prevent calls to
console.log()
<script language="javascript" type="text/javascript"If you don't want to install Firebug Lite, but you just want to avoid those annoying JavaScript errors, grab firebugx.js here and just copy and paste it into your code. Using Firebug LiteFirebug Lite won't intrude on your page until you open it yourself. Just hit the trusty F12 key to open the console - it will appear at the bottom of the page just like the real Firebug. You'll soon get tired of hitting F12 after every time you reload the page. If you want the Firebug console to be open every time you load the page, just add
debug="true"
Using the Command LineFirebug Lite also contains a command line, just like its big brother. You can use the same shortcut you use in Firebug to focus the command like, , Ctrl+Shift+L (or ⌘+Shift+L on Mac).
This article brought to you by the
Hiveminds Magazine - Staff. Contact us if you want to post an article or announcement anonymously |
Joomla! London Hotels
Adobe Flex Wordpress Laptop Reviews
Web Developers Just Dial International Calls
Content Management Systems Excel Training Courses
Adobe Flex PHP excel courses in london
Wordpress Data Recovery
Web Developers Cheap Personal & Secured Loans
Content Management Systems Sell Online
|
||||||
NewsletterGet updates on Hiveminds services, articles and downloads by signing up for the newsletter. |
Editor's choiceSome of the better articles, stories and tutorials found at Hiveminds. |
Find moreFind more of Hiveminds articles, stories, tutorials and user comments by searching. |
Picked linksHand picked websites and articles from around the web that provide quality reading. |