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.

2 thoughts on “Easier way to check spelling on a website

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s