Confetti (Alt+Z) 作者: S.M. Obaydur Rahman
Trigger confetti animation with Alt+Z keyboard shortcut
扩展元数据
关于此扩展
🎉 Confetti Extension for Firefox/Zen Browser
A simple Firefox extension that triggers a beautiful confetti animation when you press Alt+Z.
🚀 Installation
Method 1: Load as Temporary Extension (Easiest - No XPI needed)
Method 2: Install from XPI file
First, create the XPI file:
Option A: Using Python (Recommended)
Option B: Using Terminal
Option C: Manually create XPI
Then install the XPI:
⚠️ Note: In Zen/Firefox, unsigned XPI files still install as temporary extensions!
Method 3: Permanent Installation (Requires Signing)
For permanent installation, the extension needs to be signed by Mozilla:
🎊 Usage
✨ Features
Works on all websites
Beautiful multi-directional confetti animation
Lightweight and fast
No tracking, no ads, no data collection
Uses the popular canvas-confetti library
🔧 Customization
Want to change the keyboard shortcut or confetti settings?
📝 Files Included
manifest.json - Extension configuration
content.js - Main extension logic (listens for Alt+Z)
canvas-confetti.min.js - Confetti animation library
README.md - This file
⚠️ Note
As a temporary extension, it will be removed when you close the browser. You'll need to reload it each time you open Zen Browser, unless you:
🐛 Troubleshooting
Confetti doesn't trigger:
Check the browser console (F12) for errors
Make sure you pressed Alt+Z (not Cmd or Ctrl)
Reload the extension from about:debugging
Extension disappears after restart:
This is normal for temporary extensions
Reload it from about:debugging → Load Temporary Add-on
📜 License
Free to use and modify!
Enjoy your confetti! 🎊
A simple Firefox extension that triggers a beautiful confetti animation when you press Alt+Z.
🚀 Installation
Method 1: Load as Temporary Extension (Easiest - No XPI needed)
- Open Zen Browser or Firefox
- Type about:debugging in the address bar and press Enter
- Click "This Firefox" (or "This Zen Browser")
- Click "Load Temporary Add-on..."
- Navigate to the confetti-extension folder
- Select the manifest.json file
- Done! ✅
Method 2: Install from XPI file
First, create the XPI file:
Option A: Using Python (Recommended)
cd /Users/shimantorehman/Downloads/confetti-extension
python3 build-xpi.py
Option B: Using Terminal
cd /Users/shimantorehman/Downloads/confetti-extension
chmod +x build-xpi.sh
./build-xpi.sh
Option C: Manually create XPI
- Select these files:
manifest.json
content.js
canvas-confetti.min.js
icon.png - Right-click → Compress (creates a .zip file)
- Rename the .zip file to .xpi
Then install the XPI:
- Open Zen Browser
- Go to about:addons
- Click the gear icon ⚙️ (top right)
- Select "Install Add-on From File..."
- Choose confetti-extension.xpi
- Confirm installation
⚠️ Note: In Zen/Firefox, unsigned XPI files still install as temporary extensions!
Method 3: Permanent Installation (Requires Signing)
For permanent installation, the extension needs to be signed by Mozilla:
- Create the XPI file (see Method 2)
- Go to Firefox Add-ons Developer Hub
- Create an account and submit the XPI file
- Wait for Mozilla approval
- Install from the Firefox Add-ons store
🎊 Usage
- Go to any website
- Press Alt+Z (or Option+Z on Mac)
- Enjoy the confetti! 🎉
✨ Features
Works on all websites
Beautiful multi-directional confetti animation
Lightweight and fast
No tracking, no ads, no data collection
Uses the popular canvas-confetti library
🔧 Customization
Want to change the keyboard shortcut or confetti settings?
- Edit content.js:
Change event.altKey && event.key === 'z' to use a different key
Modify particleCount, spread, colors, etc. in the triggerConfetti() function
2. Reload the extension:
Go to about:debugging
Click "Reload" next to the extension
📝 Files Included
manifest.json - Extension configuration
content.js - Main extension logic (listens for Alt+Z)
canvas-confetti.min.js - Confetti animation library
README.md - This file
⚠️ Note
As a temporary extension, it will be removed when you close the browser. You'll need to reload it each time you open Zen Browser, unless you:
- Sign and publish it on Firefox Add-ons (permanent)
- Use Firefox Developer Edition or Nightly with disabled signature checks
🐛 Troubleshooting
Confetti doesn't trigger:
Check the browser console (F12) for errors
Make sure you pressed Alt+Z (not Cmd or Ctrl)
Reload the extension from about:debugging
Extension disappears after restart:
This is normal for temporary extensions
Reload it from about:debugging → Load Temporary Add-on
📜 License
Free to use and modify!
Enjoy your confetti! 🎊
评分 0(1 位用户)
权限与数据
更多信息