Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
Confetti (Alt+Z) 預覽

Confetti (Alt+Z) 作者: S.M. Obaydur Rahman

Trigger confetti animation with Alt+Z keyboard shortcut

也可在 Firefox for Android™ 使用也可在 Firefox for Android™ 使用
0(0 筆評分)0(0 筆評分)
1 位使用者1 位使用者
下載 Firefox 並安裝擴充套件
下載檔案

擴充套件後設資料

關於此擴充套件
🎉 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)
  1. Open Zen Browser or Firefox
  2. Type about:debugging in the address bar and press Enter
  3. Click "This Firefox" (or "This Zen Browser")
  4. Click "Load Temporary Add-on..."
  5. Navigate to the confetti-extension folder
  6. Select the manifest.json file
  7. 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
  1. Select these files:
    manifest.json
    content.js
    canvas-confetti.min.js
    icon.png
  2. Right-click → Compress (creates a .zip file)
  3. Rename the .zip file to .xpi

Then install the XPI:
  1. Open Zen Browser
  2. Go to about:addons
  3. Click the gear icon ⚙️ (top right)
  4. Select "Install Add-on From File..."
  5. Choose confetti-extension.xpi
  6. 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:
  1. Create the XPI file (see Method 2)
  2. Go to Firefox Add-ons Developer Hub
  3. Create an account and submit the XPI file
  4. Wait for Mozilla approval
  5. Install from the Firefox Add-ons store

🎊 Usage
  1. Go to any website
  2. Press Alt+Z (or Option+Z on Mac)
  3. 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?
  1. 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:
  1. Sign and publish it on Firefox Add-ons (permanent)
  2. 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! 🎊
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
權限與資料

必要權限:

  • 存取您所有網站中的資料

收集下列資料:

  • 開發者聲稱此擴充套件不要求收集任何資料。
了解更多
更多資訊
版本
1.0.0
大小
13.29 KB
最近更新
3 個月前 (2025年11月12日)
相關分類
  • 網頁開發
  • 外觀
  • 遊戲與娛樂
授權條款
Mozilla Public License 2.0
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。Android 是 Google LLC 的註冊商標。