{"id":5492,"date":"2023-11-16T11:26:02","date_gmt":"2023-11-16T04:26:02","guid":{"rendered":"https:\/\/danielepais.com\/journal\/?p=5492"},"modified":"2023-11-16T11:26:02","modified_gmt":"2023-11-16T04:26:02","slug":"5-minutes-tutorial-making-a-word-count-google-chrome-extension","status":"publish","type":"post","link":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/","title":{"rendered":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension"},"content":{"rendered":"<p>If you&#8217;re a freelance writer who regularly creates articles for various websites, you&#8217;ve probably found yourself frequently checking the word count of your content.<\/p>\n<p><a href=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/ywAAAAAAQABAAACAUwAOw==\" fifu-lazy=\"1\" fifu-data-sizes=\"auto\" fifu-data-srcset=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/9a1889243580\/word-count.webp?p=5492&w=75&h=0&c=0 75w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/07dee24ace1d\/word-count.webp?p=5492&w=100&h=0&c=0 100w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/8b63fa95fb0f\/word-count.webp?p=5492&w=150&h=0&c=0 150w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/ff249586dd04\/word-count.webp?p=5492&w=240&h=0&c=0 240w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/cb5ac7df7add\/word-count.webp?p=5492&w=320&h=0&c=0 320w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/365a6135b7ad\/word-count.webp?p=5492&w=500&h=0&c=0 500w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/c64ad0042960\/word-count.webp?p=5492&w=640&h=0&c=0 640w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/3d7a1f30205e\/word-count.webp?p=5492&w=800&h=0&c=0 800w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/8a9be5551bd6\/word-count.webp?p=5492&w=1024&h=0&c=0 1024w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/37c251e3806e\/word-count.webp?p=5492&w=1280&h=0&c=0 1280w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/a21e1e733489\/word-count.webp?p=5492&w=1600&h=0&c=0 1600w\" class=\"aligncenter size-full wp-image-5499\" title=\"\" fifu-data-src=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS9Xb3JkLUNvdW50LmpwZw\/af4f3f88a7b8\/word-count.webp?p=5492\" alt=\"Word Count\" width=\"850\" height=\"400\" \/><\/a><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6ac7fe57b1dc0\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #18bc9c;color:#18bc9c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #18bc9c;color:#18bc9c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6ac7fe57b1dc0\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#The_issue\" >The issue<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#The_Solution\" >The Solution<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#Step_1_Set_Up_the_Extension_Folder\" >Step 1: Set Up the Extension Folder<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#Step_2_Write_the_Manifest_File\" >Step 2: Write the Manifest File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#Step_3_Create_the_Popup_HTML\" >Step 3: Create the Popup HTML<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#Step_4_Create_the_JavaScript_for_Popup\" >Step 4: Create the JavaScript for Popup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#Step_5_Create_the_Content_Script\" >Step 5: Create the Content Script<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#Step_6_Add_an_Icon\" >Step 6: Add an Icon<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#Step_7_Load_Your_Extension\" >Step 7: Load Your Extension<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#Concluding\" >Concluding<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"The_issue\"><\/span>The issue<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This task is easily accomplished using text editors like Sublime Text or even the built-in editor on <a href=\"https:\/\/danielepais.com\/journal\/building-custom-themes-for-wordpress\/\">WordPress<\/a>. However, there may be instances where your client requires you to break down articles into sections and insert code snippets, images, or ads between them.<\/p>\n<p>Whether for these specific purposes or any other reason, if you need a quick and convenient way to determine the word count of a paragraph or a set of paragraphs without the hassle of opening the article in your editor (be it online with WordPress or offline with your preferred code editor), and you prefer to avoid the inconvenience of copying and pasting text into online word counters like <a href=\"https:\/\/wordcounter.net\/\" target=\"_blank\" rel=\"noopener\">WordCounter.net<\/a> (which, although useful, can be a bit distracting with all the tab switching), then you&#8217;ll want to explore this effortless <a href=\"https:\/\/danielepais.com\/journal\/sliced-invoices-is-my-choice-for-billing\/\">solution<\/a> that takes just 5 minutes to set up.<\/p>\n<p>Here&#8217;s what I aimed to achieve:<\/p>\n<ol>\n<li>Highlight any text on a <a href=\"https:\/\/danielepais.com\/journal\/web-scraping-increase-sales\/\">web<\/a> page.<\/li>\n<li>Click a designated button to instantly obtain the word count.<\/li>\n<li>This functionality had to be integrated at the Chrome browser level, eliminating the need for a separate web page for counting words (as you would find with tools like WordCounter.net).<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"The_Solution\"><\/span>The Solution<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Creating a Google Chrome extension to highlight text on a web page and count the words is a feasible and practical idea. Here&#8217;s a basic guideline on how you can do this:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Set_Up_the_Extension_Folder\"><\/span>Step 1: Set Up the Extension Folder<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li><strong>Create a New Folder:<\/strong> This will contain all the <a href=\"https:\/\/danielepais.com\/journal\/encrypt-files-on-linux-using-veracrypt\/\">files<\/a> for your extension.<\/li>\n<li><strong>Create a Manifest File:<\/strong> Name it <code>manifest.json<\/code>. This file defines basic information about your extension.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Write_the_Manifest_File\"><\/span>Step 2: Write the Manifest File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In <strong><code>manifest.json<\/code><\/strong>, include the following:<\/p>\n<p><code>{<br \/>\n\u00a0 \u00a0 \"manifest_version\": 2,<br \/>\n\u00a0 \u00a0 \"name\": \"Word Count\",<br \/>\n\u00a0 \u00a0 \"version\": \"1.0\",<br \/>\n\u00a0 \u00a0 \"description\": \"Count the number of words in highlighted text.\",<br \/>\n\u00a0 \u00a0 \"permissions\": [\"activeTab\"],<br \/>\n\u00a0 \u00a0 \"browser_action\": {<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \"default_popup\": \"popup.html\",<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \"default_icon\": \"icon.png\"<br \/>\n\u00a0 \u00a0 },<br \/>\n\u00a0 \u00a0 \"content_scripts\": [<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 {<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \"matches\": [\"&lt;all_urls&gt;\"],<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \"js\": [\"content.js\"]\n\u00a0 \u00a0 \u00a0 \u00a0 }<br \/>\n\u00a0 \u00a0 ]\n}<\/code><\/p>\n<p>This sets up a basic extension with a popup and a content script that can interact with web pages.<\/p>\n<div class=\"boxlink\">Read also: <a href=\"https:\/\/danielepais.com\/journal\/quick-easy-make-a-wordpress-plugin-level-1\/\" target=\"_blank\" rel=\"noopener\">Quick easy make a WordPress Plugin \u2013 level 1<\/a><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Create_the_Popup_HTML\"><\/span>Step 3: Create the Popup HTML<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Create a file named <strong><code>popup.html<\/code><\/strong>. This will be the interface for your extension.<\/p>\n<p><code>&lt;!DOCTYPE html&gt;<br \/>\n&lt;html&gt;<br \/>\n&lt;head&gt;&lt;title&gt;Word Count&lt;\/title&gt;&lt;\/head&gt;<br \/>\n&lt;body&gt;<br \/>\n\u00a0 \u00a0 &lt;div&gt;<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 &lt;button id=\"countButton\"&gt;Count Words&lt;\/button&gt;<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 &lt;div id=\"wordCount\"&gt;0 words&lt;\/div&gt;<br \/>\n\u00a0 \u00a0 &lt;\/div&gt;<br \/>\n\u00a0 \u00a0 &lt;script src=\"popup.js\"&gt;&lt;\/script&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/code><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Create_the_JavaScript_for_Popup\"><\/span>Step 4: Create the JavaScript for Popup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Create a file <strong><code>popup.js<\/code><\/strong>. This will handle the button click in your popup.<\/p>\n<p><code>document.getElementById('countButton').addEventListener('click', function() {<br \/>\n\u00a0 \u00a0 chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 chrome.tabs.sendMessage(tabs[0].id, {action: \"countWords\"}, function(response) {<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 document.getElementById('wordCount').textContent = response.wordCount + \" words\";<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 });<br \/>\n\u00a0 \u00a0 });<br \/>\n});<\/code><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Create_the_Content_Script\"><\/span>Step 5: Create the Content Script<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Create a file <strong><code>content.js<\/code><\/strong>. This will handle the word counting on the web page.<\/p>\n<p><code>chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) {<br \/>\n\u00a0 \u00a0 if (request.action === \"countWords\") {<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 let selectedText = window.getSelection().toString();<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 let wordCount = selectedText.trim().split(\/\\s+\/).length;<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 sendResponse({wordCount: wordCount});<br \/>\n\u00a0 \u00a0 }<br \/>\n});<\/code><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_6_Add_an_Icon\"><\/span>Step 6: Add an Icon<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li><strong>Create an Icon:<\/strong> Name it <strong><code>icon.png<\/code> <\/strong>and place it in your extension folder. It will be the icon for your extension in the Chrome toolbar.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_7_Load_Your_Extension\"><\/span>Step 7: Load Your Extension<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Open Chrome and go to <code>chrome:\/\/extensions\/<\/code>.<\/li>\n<li>Enable &#8220;Developer mode&#8221;.<\/li>\n<li>Click &#8220;Load unpacked&#8221; and select your extension folder.<\/li>\n<\/ol>\n<p>Now, you can select text on any webpage, click the extension icon, and then click the &#8220;Count Words&#8221; button to see the number of words in your selection.<\/p>\n<p><a href=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/word-counter.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/ywAAAAAAQABAAACAUwAOw==\" fifu-lazy=\"1\" fifu-data-sizes=\"auto\" fifu-data-srcset=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/c6a80dec397a\/word-count.webp?p=5492&w=75&h=0&c=0 75w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/ba4aa3e1d5fd\/word-count.webp?p=5492&w=100&h=0&c=0 100w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/9f038685dfe6\/word-count.webp?p=5492&w=150&h=0&c=0 150w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/a045ee3b4fa9\/word-count.webp?p=5492&w=240&h=0&c=0 240w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/decf202bfc0c\/word-count.webp?p=5492&w=320&h=0&c=0 320w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/f9d92b970b36\/word-count.webp?p=5492&w=500&h=0&c=0 500w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/c022522ea38c\/word-count.webp?p=5492&w=640&h=0&c=0 640w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/8bbe3c9d7154\/word-count.webp?p=5492&w=800&h=0&c=0 800w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/c98bbfaf4ff8\/word-count.webp?p=5492&w=1024&h=0&c=0 1024w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/d5182700ea49\/word-count.webp?p=5492&w=1280&h=0&c=0 1280w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/24e5b2550c8a\/word-count.webp?p=5492&w=1600&h=0&c=0 1600w\" class=\"aligncenter size-full wp-image-5494\" title=\"\" fifu-data-src=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8xMS93b3JkLWNvdW50ZXIuanBn\/bb191caa108c\/word-count.webp?p=5492\" alt=\"word counter\" width=\"1080\" height=\"592\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Concluding\"><\/span>Concluding<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In conclusion, we hope you find this quick and efficient solution for counting words in web content to be a valuable addition to your freelance writing toolkit. We understand the importance of streamlining your workflow and saving time, and that&#8217;s exactly what this method offers.<\/p>\n<p>We appreciate your time spent reading this article, and we encourage you to share your thoughts, opinions, and any valuable insights or experiences you may have with this word-counting technique on our Facebook page. Visit us at <a href=\"https:\/\/www.facebook.com\/digitalprintphuket\" target=\"_new\" rel=\"noopener\" data-cke-saved-href=\"https:\/\/www.facebook.com\/digitalprintphuket\">https:\/\/www.facebook.com\/digitalprintphuket<\/a> and join the discussion. Your feedback is highly valuable to us, and we look forward to hearing from you!<\/p>\n<p>Thank you for being a part of our community, and happy writing!<\/p>\n<div class=\"su-button-center\"><a href=\"https:\/\/danielepais.com\/journal\/free-downloads\/\" class=\"su-button su-button-style-3d su-button-wide\" style=\"color:#FFFFFF;background-color:#2c3e50;border-color:#243240;border-radius:10px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#FFFFFF;padding:8px 26px;font-size:20px;line-height:30px;border-color:#6c7885;border-radius:10px;text-shadow:none\"><i class=\"sui sui-crosshairs\" style=\"font-size:20px;color:#FFFFFF\"><\/i> FREE DOWNLOAD<small style=\"padding-bottom:8px;color:#FFFFFF\">Word Count Google Chrome Extension<\/small><\/span><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re a freelance writer who regularly creates articles for various websites, you&#8217;ve probably found yourself frequently checking the word count of your..<\/p>\n","protected":false},"author":1,"featured_media":5499,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[1128,814,561],"tags":[1226,1225],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"If you&#039;re a freelance writer who regularly creates articles for various websites, you&#039;ve probably found yourself frequently checking the word count of your..\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Daniele Pais\"\/>\n\t<meta name=\"google-site-verification\" content=\"googleb91c9505ed997b99\" \/>\n\t<meta name=\"msvalidate.01\" content=\"AD1C96C338E051848BE08C67378B20CA\" \/>\n\t<meta name=\"keywords\" content=\"google chrome extension,word count,content creation,freelance,web development\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Daniele Pais Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design\" \/>\n\t\t<meta property=\"og:description\" content=\"If you&#039;re a freelance writer who regularly creates articles for various websites, you&#039;ve probably found yourself frequently checking the word count of your..\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"850\" \/>\n\t\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-11-16T04:26:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-11-16T04:26:02+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@daniele_pais\" \/>\n\t\t<meta name=\"twitter:title\" content=\"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design\" \/>\n\t\t<meta name=\"twitter:description\" content=\"If you&#039;re a freelance writer who regularly creates articles for various websites, you&#039;ve probably found yourself frequently checking the word count of your..\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#article\",\"name\":\"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design\",\"headline\":\"5 Minutes Tutorial: Making a Word Count Google Chrome Extension\",\"author\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Word-Count.jpg\",\"width\":850,\"height\":400,\"caption\":\"Word Count\"},\"datePublished\":\"2023-11-16T11:26:02+07:00\",\"dateModified\":\"2023-11-16T11:26:02+07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#webpage\"},\"articleSection\":\"Content Creation, Freelance, Web Development, Google Chrome Extension, Word Count\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/danielepais.com\\\/journal\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/#listItem\",\"name\":\"Web\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/#listItem\",\"position\":2,\"name\":\"Web\",\"item\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/web-development\\\/#listItem\",\"name\":\"Web Development\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/web-development\\\/#listItem\",\"position\":3,\"name\":\"Web Development\",\"item\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/web-development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#listItem\",\"name\":\"5 Minutes Tutorial: Making a Word Count Google Chrome Extension\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/#listItem\",\"name\":\"Web\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#listItem\",\"position\":4,\"name\":\"5 Minutes Tutorial: Making a Word Count Google Chrome Extension\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/web-development\\\/#listItem\",\"name\":\"Web Development\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#person\",\"name\":\"Daniele Pais\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/86bedf0ab24a6d4a4f32de230cc797ef?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Daniele Pais\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/#author\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/\",\"name\":\"Daniele Pais\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/86bedf0ab24a6d4a4f32de230cc797ef?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Daniele Pais\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#webpage\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/\",\"name\":\"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design\",\"description\":\"If you're a freelance writer who regularly creates articles for various websites, you've probably found yourself frequently checking the word count of your..\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Word-Count.jpg\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#mainImage\",\"width\":850,\"height\":400,\"caption\":\"Word Count\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\\\/#mainImage\"},\"datePublished\":\"2023-11-16T11:26:02+07:00\",\"dateModified\":\"2023-11-16T11:26:02+07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#website\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/\",\"name\":\"Phuket Web Design\",\"description\":\"Digital Print\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design","description":"If you're a freelance writer who regularly creates articles for various websites, you've probably found yourself frequently checking the word count of your..","canonical_url":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/","robots":"max-image-preview:large","keywords":"google chrome extension,word count,content creation,freelance,web development","webmasterTools":{"google-site-verification":"googleb91c9505ed997b99","msvalidate.01":"AD1C96C338E051848BE08C67378B20CA","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#article","name":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design","headline":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension","author":{"@id":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/#author"},"publisher":{"@id":"https:\/\/danielepais.com\/journal\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg","width":850,"height":400,"caption":"Word Count"},"datePublished":"2023-11-16T11:26:02+07:00","dateModified":"2023-11-16T11:26:02+07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#webpage"},"isPartOf":{"@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#webpage"},"articleSection":"Content Creation, Freelance, Web Development, Google Chrome Extension, Word Count"},{"@type":"BreadcrumbList","@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal#listItem","position":1,"name":"Home","item":"https:\/\/danielepais.com\/journal","nextItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/#listItem","name":"Web"}},{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/#listItem","position":2,"name":"Web","item":"https:\/\/danielepais.com\/journal\/category\/web\/","nextItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/web-development\/#listItem","name":"Web Development"},"previousItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/web-development\/#listItem","position":3,"name":"Web Development","item":"https:\/\/danielepais.com\/journal\/category\/web\/web-development\/","nextItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#listItem","name":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension"},"previousItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/#listItem","name":"Web"}},{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#listItem","position":4,"name":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension","previousItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/web-development\/#listItem","name":"Web Development"}}]},{"@type":"Person","@id":"https:\/\/danielepais.com\/journal\/#person","name":"Daniele Pais","image":{"@type":"ImageObject","@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/86bedf0ab24a6d4a4f32de230cc797ef?s=96&d=mm&r=g","width":96,"height":96,"caption":"Daniele Pais"}},{"@type":"Person","@id":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/#author","url":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/","name":"Daniele Pais","image":{"@type":"ImageObject","@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/86bedf0ab24a6d4a4f32de230cc797ef?s=96&d=mm&r=g","width":96,"height":96,"caption":"Daniele Pais"}},{"@type":"WebPage","@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#webpage","url":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/","name":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design","description":"If you're a freelance writer who regularly creates articles for various websites, you've probably found yourself frequently checking the word count of your..","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/danielepais.com\/journal\/#website"},"breadcrumb":{"@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#breadcrumblist"},"author":{"@id":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/#author"},"creator":{"@id":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg","@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#mainImage","width":850,"height":400,"caption":"Word Count"},"primaryImageOfPage":{"@id":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/#mainImage"},"datePublished":"2023-11-16T11:26:02+07:00","dateModified":"2023-11-16T11:26:02+07:00"},{"@type":"WebSite","@id":"https:\/\/danielepais.com\/journal\/#website","url":"https:\/\/danielepais.com\/journal\/","name":"Phuket Web Design","description":"Digital Print","inLanguage":"en-US","publisher":{"@id":"https:\/\/danielepais.com\/journal\/#person"}}]},"og:locale":"en_US","og:site_name":"Daniele Pais Blog","og:type":"article","og:title":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design","og:description":"If you're a freelance writer who regularly creates articles for various websites, you've probably found yourself frequently checking the word count of your..","og:url":"https:\/\/danielepais.com\/journal\/5-minutes-tutorial-making-a-word-count-google-chrome-extension\/","og:image":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg","og:image:secure_url":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg","og:image:width":"850","og:image:height":"400","article:published_time":"2023-11-16T04:26:02+00:00","article:modified_time":"2023-11-16T04:26:02+00:00","twitter:card":"summary","twitter:site":"@daniele_pais","twitter:title":"5 Minutes Tutorial: Making a Word Count Google Chrome Extension | Phuket Web Design","twitter:description":"If you're a freelance writer who regularly creates articles for various websites, you've probably found yourself frequently checking the word count of your..","twitter:image":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg"},"aioseo_meta_data":{"post_id":"5492","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"Word Count","score":85,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":2},"keyphraseInURL":{"score":1,"maxScore":5,"error":1},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":{"score":9,"maxScore":9,"error":0},"keywordDensity":{"type":"best","score":9,"maxScore":9,"error":0}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":"#post_title #separator_sa #site_title","og_description":"#post_excerpt","og_object_type":"default","og_image_type":"featured","og_image_url":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/11\/Word-Count.jpg","og_image_width":"850","og_image_height":"400","og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2023-11-16 02:40:29","updated":"2025-06-11 19:10:09","ai":null,"seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/posts\/5492"}],"collection":[{"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/comments?post=5492"}],"version-history":[{"count":0,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/posts\/5492\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/media\/5499"}],"wp:attachment":[{"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/media?parent=5492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/categories?post=5492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/tags?post=5492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}