Easier way to check spelling on a website

We need youtube time. We need engadget time. We don’t have time to check spelling in each and every word of the content on web pages we develop.

To make things easier I made a small bookmarklet to check spelling. It uses html5 contenteditable attribute to do the magic. Many new browsers has spell checker feature on text areas. If you navigate to a webpage and click the bookmarklet it will add the contenteditable attribute and set it true to body tag. In other words now the whole web page is a text area. You will be able to see the red line below misspelled words. = profit.

Works perfectly in firefox. Buggy in chrome.

javascript:(function(){(document.body.getAttribute('contenteditable')==true)?document.body.setAttribute('contenteditable','false'):document.body.setAttribute('contenteditable','true');})();

You can also Visit this page and drag the link to bookmarks bar.