The Word Frequency Analyzer Chrome extension is a simple tool that allows you to analyze the frequency of words on a webpage and find the most used word. It provides a user-friendly interface in the form of a popup window where you can generate the word list and view the most used word.
- Extracts words from the active webpage.
- Counts the frequency of each word.
- Excludes common words like "the," "a," and "to" from the analysis.
- Displays the most used word on the popup window.
- Displays the top 5 used words on the popup window.
- Install the extension in your Chrome browser.
- Navigate to a webpage.
- Click the extension icon to open the popup window.
- Click the "Generate Word List" button to extract the words and display the most used word.
The code consists of the following main components:
popup.html
: Defines the structure of the extension's popup window.popup.js
: Contains the main logic of the extension.manifest.json
: Provides the configuration for the Chrome extension.
- Clone the repository:
git clone https://github.com/rusty3699/word-data-chrome.git
- Open Chrome and go to
chrome://extensions/
. - Enable the "Developer mode" toggle.
- Click "Load unpacked" and select the cloned repository folder.
- The extension should now be installed in your Chrome browser.
- You can modify the
commonWords
array inpopup.js
to add or remove common words that you want to exclude from the analysis. - Feel free to customize the appearance and functionality of the popup window in
popup.html
andpopup.js
as per your requirements.
- Will be live on chrome extension web store soon :)
- To DO:- UI, icons, and more features.
- Publish to Chrome
- Get User Insights
- Save USer Insights in DB
Made with ❤️ Anish Tipnis