A lightweight, modular browser extension framework with toggleable features.
| Module | Description |
|---|---|
| 📄 PDF Inline Viewer | Force PDFs to open in browser instead of downloading |
| 📝 Document Viewer | View Word, Excel, PowerPoint files inline via Google Docs |
- Open
chrome://extensions/(oredge://extensions/) - Enable Developer mode
- Click Load unpacked → select this folder
Click the extension icon → toggle features on/off. Changes apply immediately.
background.js — Add to MODULES array with id, name, description, icon, defaultEnabled, and ruleIds.
popup/popup.js — Add matching entry (without ruleIds).
In background.js, add a case in handleModuleToggle() that calls your module's toggle function.
Create your toggleFeatureBModule(enabled) function with enable/disable logic.
├── manifest.json # Extension config
├── background.js # Service worker
├── popup/ # Toggle UI
└── icons/ # Extension icons
MIT