{"id":2845,"date":"2010-08-19T12:50:07","date_gmt":"2010-08-19T07:20:07","guid":{"rendered":"http:\/\/www.bhagwad.com\/blog\/?p=2845"},"modified":"2010-10-09T02:11:02","modified_gmt":"2010-10-08T20:41:02","slug":"count-words-in-chrome-using-the-greasemonkey-add-on","status":"publish","type":"post","link":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/","title":{"rendered":"Count words in Chrome using the Greasemonkey Add on"},"content":{"rendered":"<p>A little while back I had <a href=\"http:\/\/www.bhagwad.com\/blog\/2010\/technology\/word-and-character-count-google-chrome-extension.html\">written a Google Chrome extension<\/a> to count the words in any selection on a page. You can <a href=\"https:\/\/chrome.google.com\/extensions\/detail\/kmndjoipobjfjbhocpoeejjimchnbjje\">download it straight from here<\/a> if you want&#8230;or you can read about an <em>even easier way<\/em> to do it below!<\/p>\n<p>Chrome&#8217;s has inbuilt support for Greasemonkey. I <a href=\"http:\/\/www.bhagwad.com\/blog\/2010\/technology\/how-to-easily-italicize-and-bold-your-comments-on-blogs.html\">modified an existing userscript<\/a> that makes it easy to count the words in any textarea. By just selecting the words and pressing &#8220;Alt + C&#8221; , a popup is displayed with the word and character count. In addition, you can also insert HTML tags by clicking &#8220;Ctrl + I&#8221; for <em>italics<\/em>, &#8220;Ctrl + B&#8221; for <strong>bold<\/strong>, and Ctrl+Shift+M to insert a link.<\/p>\n<p>Here&#8217;s what it looks like:<\/p>\n<figure id=\"attachment_2848\" aria-describedby=\"caption-attachment-2848\" style=\"width: 412px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2848\" title=\"Count words in Google Chrome\" src=\"http:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg\" alt=\"Count words in Google Chrome\" width=\"422\" height=\"242\" srcset=\"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg 422w, https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome-300x172.jpg 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/a><figcaption id=\"caption-attachment-2848\" class=\"wp-caption-text\">Count words in Google Chrome<\/figcaption><\/figure>\n<p>To learn how to install this Greasemonkey add on, just <a href=\"http:\/\/www.bhagwad.com\/blog\/2010\/technology\/how-to-easily-italicize-and-bold-your-comments-on-blogs.html\">watch the video I made<\/a>. It also works for Firefox.<\/p>\n<p>The script has limitations though. It won&#8217;t count the words if they&#8217;re not in a textbox. Meaning you can&#8217;t select text on a page to count the words and characters. If the words are in a rich text box, this won&#8217;t work either. If you absolutely need to have that functionality, you might be better off <a href=\"http:\/\/www.bhagwad.com\/blog\/2010\/technology\/word-and-character-count-google-chrome-extension.html\">installing the extension instead<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An easy way to count the words in a textarea in Google Chrome. This technique is different from the Chrome extension.<\/p>\n","protected":false},"author":2,"featured_media":2848,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,33,23],"tags":[],"class_list":["post-2845","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nr","category-sa","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Count words in Chrome using the Greasemonkey Add on<\/title>\n<meta name=\"description\" content=\"An easy way to count the words in a textarea in Google Chrome. This technique is different from the Chrome extension.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Count words in Chrome using the Greasemonkey Add on\" \/>\n<meta property=\"og:description\" content=\"An easy way to count the words in a textarea in Google Chrome. This technique is different from the Chrome extension.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/\" \/>\n<meta property=\"og:site_name\" content=\"Expressions - Bhagwad Jal Park\" \/>\n<meta property=\"article:published_time\" content=\"2010-08-19T07:20:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-10-08T20:41:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"422\" \/>\n\t<meta property=\"og:image:height\" content=\"242\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"bhagwad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bhagwad\" \/>\n<meta name=\"twitter:site\" content=\"@bhagwad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"bhagwad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/\"},\"author\":{\"name\":\"bhagwad\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"headline\":\"Count words in Chrome using the Greasemonkey Add on\",\"datePublished\":\"2010-08-19T07:20:07+00:00\",\"dateModified\":\"2010-10-08T20:41:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/\"},\"wordCount\":224,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/Count-words-in-Google-Chrome.jpg\",\"articleSection\":[\"NR\",\"SA\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/\",\"name\":\"Count words in Chrome using the Greasemonkey Add on\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/Count-words-in-Google-Chrome.jpg\",\"datePublished\":\"2010-08-19T07:20:07+00:00\",\"dateModified\":\"2010-10-08T20:41:02+00:00\",\"description\":\"An easy way to count the words in a textarea in Google Chrome. This technique is different from the Chrome extension.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/Count-words-in-Google-Chrome.jpg\",\"contentUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/Count-words-in-Google-Chrome.jpg\",\"width\":\"422\",\"height\":\"242\",\"caption\":\"Count words in Google Chrome\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/count-words-in-chrome-using-the-greasemonkey-add-on.html\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Count words in Chrome using the Greasemonkey Add on\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/\",\"name\":\"Expressions - Bhagwad Jal Park\",\"description\":\"My thoughts, haikus and freelance musings\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\",\"name\":\"bhagwad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1779900049\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1779900049\",\"contentUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1779900049\",\"caption\":\"bhagwad\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1779900049\"},\"sameAs\":[\"http:\\\/\\\/www.bhagwad.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Count words in Chrome using the Greasemonkey Add on","description":"An easy way to count the words in a textarea in Google Chrome. This technique is different from the Chrome extension.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/","og_locale":"en_US","og_type":"article","og_title":"Count words in Chrome using the Greasemonkey Add on","og_description":"An easy way to count the words in a textarea in Google Chrome. This technique is different from the Chrome extension.","og_url":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/","og_site_name":"Expressions - Bhagwad Jal Park","article_published_time":"2010-08-19T07:20:07+00:00","article_modified_time":"2010-10-08T20:41:02+00:00","og_image":[{"width":422,"height":242,"url":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg","type":"image\/jpeg"}],"author":"bhagwad","twitter_card":"summary_large_image","twitter_creator":"@bhagwad","twitter_site":"@bhagwad","twitter_misc":{"Written by":"bhagwad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/#article","isPartOf":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/"},"author":{"name":"bhagwad","@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"headline":"Count words in Chrome using the Greasemonkey Add on","datePublished":"2010-08-19T07:20:07+00:00","dateModified":"2010-10-08T20:41:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/"},"wordCount":224,"commentCount":0,"publisher":{"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"image":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg","articleSection":["NR","SA","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/","url":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/","name":"Count words in Chrome using the Greasemonkey Add on","isPartOf":{"@id":"https:\/\/www.bhagwad.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/#primaryimage"},"image":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg","datePublished":"2010-08-19T07:20:07+00:00","dateModified":"2010-10-08T20:41:02+00:00","description":"An easy way to count the words in a textarea in Google Chrome. This technique is different from the Chrome extension.","breadcrumb":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/#primaryimage","url":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg","contentUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/08\/Count-words-in-Google-Chrome.jpg","width":"422","height":"242","caption":"Count words in Google Chrome"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/count-words-in-chrome-using-the-greasemonkey-add-on.html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bhagwad.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Count words in Chrome using the Greasemonkey Add on"}]},{"@type":"WebSite","@id":"https:\/\/www.bhagwad.com\/blog\/#website","url":"https:\/\/www.bhagwad.com\/blog\/","name":"Expressions - Bhagwad Jal Park","description":"My thoughts, haikus and freelance musings","publisher":{"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bhagwad.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23","name":"bhagwad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1779900049","url":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1779900049","contentUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1779900049","caption":"bhagwad"},"logo":{"@id":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1779900049"},"sameAs":["http:\/\/www.bhagwad.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts\/2845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/comments?post=2845"}],"version-history":[{"count":0,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts\/2845\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/media\/2848"}],"wp:attachment":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/media?parent=2845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/categories?post=2845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/tags?post=2845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}