The extension needs PNG icons before it can be loaded. Choose one of these methods:
- Go to https://redketchup.io/icon-converter
- Upload
assets/icons/icon.svg - Select PNG format
- Generate sizes: 16, 32, 48, 128 pixels
- Download and save in
assets/icons/with names:icon-16.pngicon-32.pngicon-48.pngicon-128.png
# Install ImageMagick first
brew install imagemagick # macOS
# or
sudo apt-get install imagemagick # Linux
# Run the generation script
./generate-placeholder-icons.shFor quick testing, you can create simple placeholder files:
cd assets/icons
# Create simple 1x1 colored pixels and scale them
echo "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==" | base64 -d > icon-16.png
cp icon-16.png icon-32.png
cp icon-16.png icon-48.png
cp icon-16.png icon-128.png- Open Chrome and go to:
chrome://extensions/ - Enable Developer mode (toggle in top-right corner)
- Click "Load unpacked"
- Select the
storageinsight-extensionfolder - Extension should appear with the name "StorageInsight"
- Click the StorageInsight icon in toolbar
- Click "Scan Storage" button
- View your privacy metrics
- Try the quick actions (Clear Tracking, Export Data)
- Access settings via the gear icon
- Icons are generated (check
assets/icons/directory) - Extension loaded without errors in
chrome://extensions - Popup opens when clicking extension icon
- Scan button works and shows results
- Settings page opens and saves preferences
- No console errors in service worker or popup
- Make sure all icon files exist in
assets/icons/ - Check that icon file names match those in
manifest.json
- Click "Inspect views: service worker" in
chrome://extensions - Check console for specific error messages
- Make sure all
.jsfiles are present
- Right-click extension icon → Inspect popup
- Check console for errors
- Verify
popup.html,popup.js, andpopup.cssexist
- This is normal if you haven't visited many websites
- Try visiting a few popular sites first
- Some storage types may require permissions
Once the extension is loaded and working:
- Visit the web dashboard: http://localhost:3000
- Customize settings: Right-click extension → Options
- Test on various websites: Browse normally and scan periodically
- Check privacy score: Aim for 70+ for good privacy
- Changes to popup/options: Just reload the page
- Changes to service worker: Reload extension in
chrome://extensions - Changes to content scripts: Reload the webpage
- Always test on multiple sites before considering it production-ready
- Check
README.mdfor detailed documentation - Review
PERMISSIONS.mdto understand why each permission is needed - See
assets/icons/ICONS_README.mdfor more icon generation options