A browser extension that allows you to highlight text on web pages, organize highlights by categories, and export them for later use.
- 🎨 Custom Colors: Choose any color for your highlights
- 📂 Categories: Organize highlights (Important, Study, Quote, Reference, Todo)
- 💾 Persistent Storage: Highlights are saved and restored when you revisit pages
- 🔍 Search & Filter: Find highlights by text or category
- 📤 Export: Download all highlights as readable text file
- 🎯 Easy Management: Double-click highlights to change color or remove
- 🔒 Privacy First: All data stored locally, no external servers
- Download or clone this repository
- Open your browser and go to
chrome://extensions/
(Chrome) orbrave://extensions/
(Brave) - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked" and select the extension folder
- The extension is now installed and ready to use
- Select any text on a webpage
- Right-click and choose "Highlight as..." → Select category
- Text is highlighted with your chosen color (semi-transparent)
- Change Color: Double-click any highlight → Click color square
- Remove: Double-click any highlight → Click red X button
- Set Default Color: Click extension icon → Use color picker
- View All: Click extension icon to see all highlights
- Search: Type in search box to find specific highlights
- Filter: Click category buttons to filter by type
- Export: Click "Export Highlights" to download as text file
web-notes-highlighter/
├── manifest.json # Extension configuration
├── background.js # Context menu handler
├── content.js # Main highlighting functionality
├── popup.html # Extension popup interface
├── popup.js # Popup functionality
├── styles.css # Highlight styling
├── recover.html # Data recovery tool
└── README.md # This file
- Content Security Policy prevents code injection
- Input sanitization prevents XSS attacks
- Data validation ensures safe storage
- Local storage only - no external data transmission
- Minimal permissions requested
DO NOT use this extension on untrusted or suspicious websites.
Safe: Educational sites, documentation, news, research papers
Avoid: Suspicious sites, excessive ads, unknown domains
Why: Malicious websites could interfere with extension functionality or attempt to exploit browser vulnerabilities.
Use only on trusted websites for study and research purposes.
- ✅ Chrome (Manifest V3)
- ✅ Brave
- ✅ Edge
- ✅ Other Chromium-based browsers
This extension:
- Stores all data locally in your browser
- Does not send any data to external servers
- Does not track your browsing activity
- Only accesses pages where you actively use highlighting
MIT License - Feel free to modify and distribute
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
If you encounter issues:
- Check browser console for error messages
- Try reloading the extension
- Use the recovery tool (Extension options → Recovery)
- Create an issue on GitHub