Bookmarklet For YUI Logger
During development using javascript I have always felt that it would be useful to be able to easily add and remove YUI Logger without having to deal with manually adding and removing the related javascript and css from the source files.
I resolved this problem by writing a bookmarklet which will allow you to do that easily. The details are available here. This has been tested on firefox 2.x, safari 3.1 and IE 6/7. Please post any bugs that you find. If you do the view source of the file you can see the code as well.
[...] open a logger console on-demand — a big convenience when you’re debugging. Check out Rajat’s blog and bookmarklet page for more on this [...]
[...] Connecting the dots… » Bookmarklet For YUI Logger (tags: cool javascript ajax yui) [...]
under certain curcumstances, when the page does not load related function to YUI Loader, error occurs. it requires one more clikck to display Logger. so, i suggest to quote YAHOO global object. error will not happens when loading yahoo.log(), when it can’t invoking YUI Logger.