Next QR Code Generator EN
liuliangsir · Firefox
A addon to generate Chromium-style QR codes featuring the iconic Firefox logo
截图
简介
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)
- Clone the repository
bash
git clone https://github.com/chromium-style-qrcode/next-qrcode-generator.git
cd next-qrcode-generator
- Install dependencies
bash
pnpm install
- Build the extension
bash
pnpm build
- Load in Firefox
- Open Firefox and navigate to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on"
- Select the
manifest.jsonfile from the.output/firefox-mv2folder
🎯 Usage
- Access the Extension: Click the QR code icon in your browser's toolbar
- Auto-Fill Current URL: The extension automatically loads the current page's URL
- Custom Text: Replace the URL with any text you want to convert to a QR code
- Copy to Clipboard: Click the "Copy" button to copy the QR code as an image
- 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.pngfor domain namesqrcode_firefox.pngfor 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
- Follow the existing code style
- Add TypeScript types for new features
- Test on Firefox
- 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
- <a href="ht…
Next QR Code Generator 是做什么的
Next QR Code Generator 是一款面向 Firefox 的实用工具类扩展,主要用来解决浏览器里某类具体的小问题。官方对它的介绍是:A addon to generate Chromium-style QR codes featuring the iconic Firefox logo在Firefox 附加组件商店(AMO)上,它当前版本 1.0.1,约 24 名用户。
适合什么人用
从功能定位看,Next QR Code Generator 更适合想补上浏览器原生缺失功能的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 Next QR Code Generator
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Next QR Code Generator 是免费的吗?
Next QR Code Generator 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Next QR Code Generator 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Next QR Code Generator 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Next QR Code Generator?
在扩展管理页找到 Next QR Code Generator,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 2
activeTabstorage

