This Chrome extension allows users to analyze the selected text on a webpage and displays various text statistics, including the number of words, characters, white spaces, sentences, and paragraphs.
To test the extension locally, follow these steps:
- Open Google Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" by toggling the switch in the top-right corner.
- Click the "Load unpacked" button that appears.
- In the file selection dialog, navigate to the directory containing the extension files (i.e.,
manifest.json
,popup.html
,popup.js
) and click "Open".
The extension should now be installed and active in your browser. You should see its icon in the top-right corner of the Chrome window. Click on the icon and select some text on a webpage to analyze.
Before submitting the extension to the Chrome Web Store, you need to create a ZIP file containing all the necessary files.
- Ensure your extension's directory contains all the required files:
manifest.json
popup.html
popup.js
- Create a ZIP file of the extension directory.
- On Windows: Right-click the extension folder, choose "Send to", and then click "Compressed (zipped) folder".
- On macOS: Right-click the extension folder, choose "Compress", and a ZIP file will be created in the same directory.
- On Linux: Use a tool like
zip
or an archive manager to create a ZIP file containing the extension folder.
Follow these steps to submit your extension to the Chrome Web Store:
- Go to the Chrome Web Store Developer Dashboard and sign in with your Google account.
- Click the "Add new item" button.
- Click "Choose file" and select the ZIP file you created earlier.
- Fill in the required information, such as a detailed description, an icon for the extension, and screenshots or a video showcasing the extension in use.
- Pay the one-time developer registration fee, if you haven't done so already.
- Click "Publish" to submit the extension for review.
Once your extension has been reviewed and approved, it will be available on the Chrome Web Store for users to download and install.
For more information on publishing your extension, refer to the official Chrome Web Store documentation.