[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115442":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":29,"discoverSource":30},115442,"qr-snip","IsaacJoel06\u002Fqr-snip","IsaacJoel06","A fast, lightweight, privacy-focused browser Extension (Manifest V3) that scans any QR code visible on your screen or inside images, with built-in security screening and zero external network calls. Works on chrome, edge, other chromium based browsers and mozilla firefox","",null,"JavaScript",140,5,2,0,9,75,46,87.6,"MIT License",false,"main",true,[],"2026-11-21 05:29:59","2026-11-23 18:51:59","# QR Snip\n\nA fast, lightweight, privacy-focused WebExtension (Manifest V3) that scans any QR code visible on your screen or inside images, with built-in security screening and zero external network calls.\n\n**Supported Browsers:** Google Chrome, Microsoft Edge, and Mozilla Firefox 140+.\n\n---\n\n## Key Features\n\n- **Viewport Snipping:** Capture and scan any QR code on screen using the toolbar icon or shortcut \u003Ckbd>Alt+Shift+Q\u003C\u002Fkbd>.\n- **Touch, Pen & Stylus Ready:** Full pointer-event support with pointer capture, scroll-lock (`touch-action: none`), on-screen Cancel button, and accessible &ge;44px tap targets.\n- **Right-Click Image Scan:** Right-click any image on the web and select **\"Scan QR in this image\"** for instant decoding without dragging.\n- **Cross-Browser Engine:** Native WebExtension compatibility across Chromium (Chrome, Edge, Brave) and Firefox.\n- **High-DPI & Zoom Resilient:** Automatically scales pixel coordinates to match `devicePixelRatio` and browser zoom settings.\n- **100% Offline & Private:** Uses bundled `jsQR.min.js`. Never contacts remote servers, tracks analytics, or makes network requests.\n- **Security Warning Banner:** Flags URLs using unencrypted `http:\u002F\u002F`, internationalized\u002Fpunycode lookalike domains, or URL shorteners (`bit.ly`, `tinyurl.com`, `t.co`, etc.) with a clear caution notice before opening.\n- **Dangerous Scheme Blocking:** Completely blocks `javascript:` and `data:` URLs from opening.\n- **Dark & Light Mode:** Seamlessly matches your operating system theme, with an interactive toggle switch, safely persisted in storage.\n- **Restricted Page Warnings:** Notifies you with friendly native alerts when triggered on restricted pages (e.g., `chrome:\u002F\u002F`, `about:`, Chrome Web Store, or Firefox Add-ons).\n- **Safe Link Handling:** Links are never opened automatically. Opening is strictly user-triggered.\n\n---\n\n## Screenshots\n\n\u003C!-- Add your screenshots here after capturing -->\n\u003Cdiv align=\"center\">\n  \u003Cimg width=\"1907\" height=\"1382\" alt=\"image\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F241b7450-ccb2-4e38-a2db-ed5fd9c50bca\" \u002F>\n  \u003Cimg width=\"1865\" height=\"1384\" alt=\"image\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fc2827034-fb91-40c0-ba80-a84148e6a049\" \u002F>\n  \u003Cimg width=\"1900\" height=\"1377\" alt=\"image\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F8c62ace0-953f-459c-b72d-aa367ad5d1e0\" \u002F>\n\n\n\n\u003C\u002Fdiv>\n\n---\n\n## Installation\n\n### Google Chrome \u002F Microsoft Edge\n1. Clone or download this repository:\n   ```bash\n   git clone https:\u002F\u002Fgithub.com\u002FIsaacJoel06\u002Fqr-snip.git\n   ```\n2. Navigate to `chrome:\u002F\u002Fextensions\u002F` (or `edge:\u002F\u002Fextensions\u002F`).\n3. Toggle on **Developer mode** in the top-right corner.\n4. Click **Load unpacked** and select the `qr-snip` project folder.\n5. Pin **QR Snip** to your browser toolbar.\n\n> *Note for Chrome users:* Chrome may display a minor developer warning: `\"Unrecognized manifest key 'scripts'\"`. This is completely safe and occurs because the manifest simultaneously provides a `scripts` fallback for Firefox MV3. Chrome uses `service_worker` and runs normally.\n\n---\n\n### Mozilla Firefox (140+)\n1. Open Firefox and go to:\n   ```text\n   about:debugging#\u002Fruntime\u002Fthis-firefox\n   ```\n2. Click **Load Temporary Add-on...**\n3. Select [manifest.json](manifest.json) inside the `qr-snip` folder.\n4. Pin **QR Snip** to your Firefox toolbar.\n\n> *Note for Firefox users:* Temporary add-ons in Firefox remain loaded for your active browser session and are automatically unloaded when Firefox is fully closed or restarted. To keep it permanently installed, the add-on can be self-signed via [AMO](https:\u002F\u002Faddons.mozilla.org\u002F).\n\n---\n\n## Usage\n\n| Action | Shortcut \u002F Trigger | Description |\n| :--- | :--- | :--- |\n| **Start Snip** | \u003Ckbd>Alt+Shift+Q\u003C\u002Fkbd> or click extension icon | Dims the page; drag a rectangle over any QR code with mouse, touch, or pen. |\n| **Scan Image** | Right-click image &rarr; **Scan QR in this image** | Scans an image element directly without selecting an area. |\n| **Cancel Snip** | \u003Ckbd>Esc\u003C\u002Fkbd> or tap on-screen **Cancel** button | Cancels current selection (ideal for touchscreen devices without an Esc key). |\n| **Close Popup** | \u003Ckbd>Esc\u003C\u002Fkbd> or click ✕ | Dismisses the result toast notification. |\n| **Toggle Theme** | Click theme button in toast header | Switches between System Auto, Dark, and Light themes. |\n\n---\n\n## Testing\n\nA complete testing guide with an interactive checklist is available in [TESTING.md](TESTING.md). Open [test.html](test.html) directly in any browser to verify all features.\n\n---\n## Known issues\n\n- **Firefox for Android \u002F mobile mode:** scanning is unreliable right now. On\n  some pages the selected area doesn't match what gets scanned, and some QR\n  codes aren't recognized. Chrome-based browsers on desktop work best. I'm currently\n  working on a fix.\n  \n## Privacy & Security\n\n- **Zero Data Collection:** QR Snip does not track, collect, or transmit any user information.\n- **No Remote Dependencies:** All scanning occurs strictly within your browser's memory using bundled local scripts.\n- **Minimal Permissions:** Uses only `activeTab`, `scripting`, `contextMenus`, and `notifications`. No host permissions (`\u003Call_urls>`) requested.\n- Read our full [PRIVACY.md](PRIVACY.md) for details.\n\n---\n\n## Development & Contribution\n\n1. Fork the repository and create your feature branch:\n   ```bash\n   git checkout -b feature\u002Fmy-enhancement\n   ```\n2. Make your changes and test across both Chrome and Firefox using `test.html` and `TESTING.md`.\n3. Commit your changes and open a Pull Request.\n\n---\n\n## License\n\nDistributed under the [MIT License](LICENSE). Copyright &copy; 2026 Isaac Joel Mithran.\n","QR Snip 是一款轻量、离线运行的浏览器扩展（Manifest V3），用于实时扫描屏幕任意区域或网页图片中的 QR 码。它内置安全检测机制，可识别 HTTP 链接、混淆域名、短链接及危险协议（如 javascript:），并完全禁止网络外联；支持 Chromium 系列浏览器（Chrome\u002FEdge）与 Firefox，适配高 DPI 和缩放设置，所有解码均在本地完成。适用于注重隐私的日常扫码场景，如快速访问会议链接、验证登录二维码、审核图片中嵌入的 URL 等。","2026-11-24 04:51:00","CREATED_QUERY"]