Editing a page from FireFox

Found a quick little JavaScript trick that lets you edit page content from within FireFox. Copy and paste the following into your address bar and press enter. javascript:document.body.contentEditable=’true’; document.designMode=’on’; void 0 Everything on the page becomes editable. Sure, it doesn’t affect the file on server. But once you’re done you can save the resulting file [...]

Debug function for FireBug

If you do much JavaScript coding and have FireBug odds are good you know that you can call console.info() to output to the FireBug console. But what happens if you leave your console.info() call in your code and a visitor looks with IE? It'll throw an error. So here's a quick, little function that will [...]

Try this – about:robots in FireFox

Type about:robots into the address bar in FireFox and press enter. You'll find an easter egg.

JavaScript Error ‘expected identifier, string or number’ in IE

Sometimes you get those errors that just pick at you and you can't seem to find a solution. It happened to me this morning when testing a JavaScript library I'm writing in IE7. FireFox worked without a hitch, but IE threw an 'expected identifier, string or number' error pointing to the last line of the [...]

Adsense notifier 0.9.6 released

A couple of months ago I noticed that the Adsense notifier down in my status bar was showing all zeros. At the same time Google started using Ajax in the Adsense pages to show reports, and I assumed the two were related. Since the last time there was a problem with the Adsense notifier it [...]