Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
Next QR Code Generator 預覽

Next QR Code Generator 作者: liuliangsir

A addon to generate Chromium-style QR codes featuring the iconic Firefox logo

0 (0 reviews)0 (0 reviews)
11 Users11 Users
必須使用 Firefox 才能使用此擴充套件
下載 Firefox 並安裝擴充套件
下載檔案

擴充套件後設資料

畫面擷圖
en-USzh-CN
關於此擴充套件
Next QR Code Generator

A addon to generate Chromium-style QR codes featuring the iconic Firefox logo.

🌟 Features
  • Chromium-Style QR Codes: Generates QR codes with the exact same styling as Chrome's native implementation
  • Firefox Logo Center: Features the Firefox logo in the center of QR codes
  • Instant Generation: Automatically generates QR codes for the current page URL
  • Custom Text Support: Create QR codes for any text or URL you enter
  • One-Click Copy: Copy QR codes to clipboard as high-quality PNG images
  • Easy Download: Download QR codes with smart filename generation
  • Perfect Sizing: Matches Chrome's exact QR code dimensions and styling
  • Dark Mode Support: Seamlessly integrates with your browser's theme

🚀 Installation

From Firefox Add-ons Store

You can install the extension directly from the Firefox Add-ons Store.

Manual Installation (Development)
  1. Clone the repository

bash
git clone https://github.com/chromium-style-qrcode/next-qrcode-generator.git
cd next-qrcode-generator
  1. Install dependencies

bash
pnpm install
  1. Build the extension

bash
pnpm build
  1. Load in Firefox
  2. Open Firefox and navigate to about:debugging#/runtime/this-firefox
  3. Click "Load Temporary Add-on"
  4. Select the manifest.json file from the .output/firefox-mv2 folder

🎯 Usage
  1. Access the Extension: Click the QR code icon in your browser's toolbar
  2. Auto-Fill Current URL: The extension automatically loads the current page's URL
  3. Custom Text: Replace the URL with any text you want to convert to a QR code
  4. Copy to Clipboard: Click the "Copy" button to copy the QR code as an image
  5. Download: Click "Download" to save the QR code as a PNG file

🛠️ Technology Stack
  • Framework: WXT - Modern web extension framework
  • Frontend: React 19 + TypeScript
  • Styling: Tailwind CSS 4.0 + Radix UI components
  • QR Generation: WebAssembly (WASM) module for Chromium-exact QR code generation
  • Build System: Vite + Rollup
  • Package Manager: pnpm

🔧 Development

Prerequisites
  • Node.js ≥ 24.3.0
  • pnpm ≥ 10.12.4

Development Commands

# Start development server
pnpm dev

# Build for production
pnpm build

# Create distribution zip
pnpm zip

# Type checking
pnpm compile

# Format code
pnpm format


Project Structure

src/
├── components/
│ └── ui/ # Reusable UI components
├── hooks/
│ ├── use-qrcode.ts # QR code generation logic
│ └── use-dark-mode.ts
├── lib/
│ ├── wasm-loader.ts # WASM module loader
│ └── utils.ts
├── popup/
│ ├── App.tsx # Main popup component
│ └── main.tsx # Entry point
├── providers/
│ └── theme.tsx # Theme provider
├── styles/
│ └── base.css # Global styles
└── types/ # TypeScript type definitions


🎨 Features in Detail

Chromium-Exact QR Generation

The extension uses a WebAssembly module that replicates Chrome's native QR code generation algorithm, ensuring:
  • Identical visual appearance to Chrome's built-in QR codes
  • Same module styling (circles vs squares)
  • Rounded locator patterns
  • Exact sizing and margins

Smart Filename Generation

Downloaded QR codes automatically get meaningful filenames:
  • qrcode_example.com.png for domain names
  • qrcode_firefox.png for other content

Accessibility
  • Full keyboard navigation support
  • Screen reader compatible
  • High contrast mode support
  • Proper ARIA labels and descriptions

🚀 Releases

This project uses automated releases through GitHub Actions.

Creating a Release

# Stable release (publish to store)
pnpm version 1.0.0
git push origin main
git push origin 1.0.0

# Pre-release (GitHub only)
pnpm version prerelease --preid='[alpha|beta|rc]'
git push origin main
git push origin 1.0.0-alpha.0


Version Types
  • Stable (1.0.0): Auto-published to Firefox Add-ons Store
  • Alpha/Beta/RC (1.0.0-alpha.0): GitHub releases only for testing

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Development Guidelines
  1. Follow the existing code style
  2. Add TypeScript types for new features
  3. Test on Firefox
  4. Update documentation as needed

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments
  • Chrome team for the original QR code implementation
  • WXT for the excellent extension framework
  • Radix UI for accessible components
  • Tailwind CSS for styling utilities

📞 Support

If you encounter any issues or have questions:
  • Open an issue on GitHub
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
更多資訊
附加元件網址
  • 技術支援信箱
版本
1.0.1
大小
241.27 KB
最近更新
1 天前 (2025年8月24日)
相關分類
  • 其它
授權條款
MIT License
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
liuliangsir 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

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

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

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

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