- Uses AI to categorize any webpage content.
- Easily save webpages all in one place and get a high level overview into the types of websites you visit.
- Customize it with your own AI model for tailored classifications.
- Extracts webpage text using
chrome.scripting.executeScript
. - Sends the extracted text to an AI API, which processes the data and provides a subject label.
- The AI model is containerized with Docker and hosted on Hugging Face.
- Stores classification results and webpage metadata using
chrome.storage.sync
for easy retrieval and visualization.
For non-developers, skip steps 1 & 2 and direcly download the dist
folder and proceed with the remaining steps
- Install dependencies
npm install
- Make sure Node.js is installed
node -v
should display a version, otherwise if you have Homebrewbrew install node
.
- Make sure Node.js is installed
- Build the extension
npm run build
- This creates a
dist
folder with the unpacked extension. Thedist
folder is what needs to be uploaded to chrome.
- This creates a
- Open the Chrome Extensions page: Type
chrome://extensions/
in the address bar and hit Enter. - Enable
Developer Mode: Toggle Developer
mode switch to on. - Load the extension: Click “Load unpacked” and select the extension directory's
dist
folder. - Confirm Loading: Extensions appear on the Extensions page.
- In the browser, type the in the URL:
chrome://flags/#text-safety-classifier
and select "Disabled" from the dropdown. Disabling this flag will prevent the AI generated answers from being blocked by the text safety classifier.
Note: This flag is only available in Chrome Canary or Dev.
- Open a new tab in Chrome, go to
chrome://flags/#optimization-guide-on-device-model
and select "Select Enabled BypassPerfRequirement" from the dropdown. This bypass performance checks which might get in the way of having Gemini Nano downloaded on your device.
Note: If you don't see BypassPerfRequirement in the dropdown, you can try "Enabled" instead.
- Go to
chrome://flags/#prompt-api-for-gemini-nano
and select "Enabled" from the dropdown. - Relaunch Chrome.
- Go to
chrome://components
, if you seeOptimization Guide On Device Model - Version: 2024.9.25.2033
then you are good to go. If not, click "Check for Update" on "Optimization Guide On Device Model". And wait for the update to complete. - Go to
chrome://extensions
and enable "Developer mode" at the top right.