6.5 KiB
Installing GreasyBoii (Packaged Version)
Your extensions are now packaged and ready to install!
Files Created
✅ dist/greasyboii-chrome-v1.0.4.zip (62 KB)
✅ dist/greasyboii-firefox-v1.0.4.zip (62 KB)
Chrome Installation
Method 1: Load Unpacked (Development)
- Open
chrome://extensions/ - Enable "Developer mode" (top-right toggle)
- Click "Load unpacked"
- Select the
chromefolder - ✅ Done!
Method 2: Install ZIP (Distribution)
- Unzip
greasyboii-chrome-v1.0.4.zipto a folder - Open
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the unzipped folder
- ✅ Done!
Method 3: Pack to CRX (Best for Sharing)
- Open
chrome://extensions/ - Enable "Developer mode"
- Click "Pack extension"
- For "Extension root directory" → Select the
chromefolder - Leave "Private key file" empty
- Click "Pack Extension"
- You get
chrome.crxfile (the actual extension) - Share this
.crxfile with others - Users drag it to
chrome://extensions/to install
Note: Chrome will show "This extension is not from the Chrome Web Store" warning for unpublished extensions.
Firefox Installation
Method 1: Load Temporary (Development)
- Open
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on"
- Select any file from the
firefoxfolder (e.g.,manifest.json) - ✅ Done! (Removed when Firefox restarts)
Method 2: Install ZIP (Distribution)
- Rename
greasyboii-firefox-v1.0.4.ziptogreasyboii-firefox-v1.0.4.xpi - Drag the
.xpifile into Firefox - Click "Add" when prompted
- ✅ Done!
Note: Unsigned extensions will show a warning. For production use, sign it through addons.mozilla.org.
Method 3: Permanent Install (Signed)
For permanent installation without warnings:
- Create account at addons.mozilla.org
- Submit the ZIP file
- Choose "Unlisted" for self-distribution
- Mozilla automatically signs it
- Download the signed XPI
- Install the signed version
Edge Installation
Edge uses Chrome extensions:
- Open
edge://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the
chromefolder - ✅ Done!
Opera Installation
Opera also uses Chrome extensions:
- Open
opera://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the
chromefolder - ✅ Done!
Verifying Installation
After installing, you should see:
- ✅ GreasyBoii icon in the browser toolbar
- ✅ Extension name: "GreasyBoii"
- ✅ Version: 1.0.4
- ✅ Author: Andy Dixon
Click the icon to open the popup and test:
- Click "+ Add Rule"
- Modal should open
- Create a test rule
- Visit a matching page
- Script should execute!
Testing the Package
Before sharing, test the packaged version:
- Uninstall the development version (if loaded)
- Install from the package (follow steps above)
- Test all features:
- ✅ Add rule
- ✅ Edit rule
- ✅ Delete rule
- ✅ Toggle rule
- ✅ Visit target page
- ✅ Verify script executes
- ✅ Check console logs
Sharing Your Extension
For Chrome Users:
Send them:
- The
.crxfile (after packing) - Installation instructions:
- Open
chrome://extensions/ - Enable "Developer mode"
- Drag the
.crxfile into the window - Click "Add extension"
- Open
For Firefox Users:
Send them:
- The
.xpifile (renamed.zip) - Installation instructions:
- Drag the
.xpifile into Firefox - Click "Add"
- Drag the
For All Users (Best):
- Publish on Chrome Web Store ($5 one-time fee)
- Publish on Firefox Add-ons (free)
- Users can install with one click
Updating the Extension
When you release a new version:
Chrome:
- Update version in
chrome/manifest.json - Re-package the extension
- If you packed to
.crx, use the SAME.pemfile - Users get automatic updates if installed from Chrome Web Store
Firefox:
- Update version in
firefox/manifest.json - Re-package the extension
- Re-sign with Mozilla (if signed)
- Users get automatic updates if installed from Firefox Add-ons
Troubleshooting
Chrome: "CRX_REQUIRED_PROOF_MISSING"
- Issue: Chrome blocks unsigned extensions by default
- Solution: Users must enable "Developer mode" to install
- Better: Publish on Chrome Web Store
Firefox: "Add-on appears corrupt"
- Issue: ZIP structure is incorrect
- Solution: Files must be at ZIP root, not in a subfolder
- Fix: Re-create ZIP from inside the firefox folder
Extension doesn't work after packaging
- Check: All files are included
- Check: manifest.json is valid (use JSON validator)
- Check: Version number is correct
- Test: Install on a fresh browser profile
Chrome: Updates not working
- Issue: Different
.pemfile used - Solution: Always use the same
.pemfile for updates - Lost .pem? You'll need to create a new extension (new ID)
File Sizes
Your packaged extensions are:
- Chrome: 62 KB (zipped)
- Firefox: 62 KB (zipped)
Both include:
- Extension code
- Bootstrap 5.3.2 (CSS + JS)
- Icons
- Manifest files
Publishing to Official Stores
Chrome Web Store:
- Cost: $5 one-time developer fee
- URL: https://chrome.google.com/webstore/developer/dashboard
- Upload: The ZIP file (not CRX)
- Review: Usually 1-3 days
- Benefits: Automatic updates, no warnings, discoverable
Firefox Add-ons:
- Cost: Free
- URL: https://addons.mozilla.org/developers/
- Upload: The ZIP file
- Options:
- Listed: Public on addons.mozilla.org (reviewed)
- Unlisted: Self-distribute signed version (instant)
- Benefits: Automatic signing, automatic updates
Quick Commands
# Package both browsers
./package-all.sh
# Package Chrome only
cd chrome && zip -r ../dist/greasyboii-chrome.zip *
# Package Firefox only
cd firefox && zip -r ../dist/greasyboii-firefox.zip *
# Rename Firefox ZIP to XPI
mv dist/greasyboii-firefox-v1.0.4.zip dist/greasyboii-firefox-v1.0.4.xpi
# Check package contents
unzip -l dist/greasyboii-chrome-v1.0.4.zip
Distribution Checklist
Before distributing:
- ✅ Test packaged version thoroughly
- ✅ Verify all features work
- ✅ Check version numbers are correct
- ✅ Include installation instructions
- ✅ Mention browser compatibility
- ✅ Provide support contact
- ✅ Consider publishing to official stores
Current Version: 1.0.4
Package Size: 62 KB
Ready to Distribute: ✅ Yes
Enjoy sharing GreasyBoii! 🐒✨