From 1f82d7f0d36dc40def64fb6107778bde3de292d1 Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Mon, 11 May 2026 16:51:54 +0200 Subject: [PATCH] v0.1.2: rebrand to Naiv-QR, target AMO-listed distribution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pre-AMO rename. The extension is now "Naiv-QR" everywhere it surfaces to users (toolbar tooltip, popup title, icon aria-label, README, package.json). Distribution target is AMO-listed, so the manifest no longer declares gecko.update_url — Firefox handles auto-updates from AMO directly for listed extensions, and the field is in fact rejected by Mozilla's validator outside self-distribution mode. - manifest.json: name → "Naiv-QR"; gecko.id → naiv-qr@addons.naiv.no; remove update_url. - package.json: name → "naiv-qr"; drop --self-hosted from lint script now that we're back to Mozilla-hosted validation. - popup/popup.html: updated. - icons/icon.svg: aria-label updated. - README: retitled, removed Self-distribution section, updated Publishing-to-AMO section to spell out the listed-distribution flow. Build artifact is now web-ext-artifacts/naiv-qr-<ver>.zip (web-ext derives the filename from manifest.name). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --- README.md | 22 +++++++++++++++++----- icons/icon.svg | 2 +- manifest.json | 6 +++--- package.json | 4 ++-- popup/popup.html | 2 +- 5 files changed, 24 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 2a28be3..1fde9e0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Share as QR +# Naiv-QR A small Firefox extension that turns the current tab's URL into a scannable QR code, so you can hand a page off to a phone (or another machine) without @@ -95,8 +95,13 @@ Permissions used (both are the minimum the feature needs): ## Publishing to AMO -`bun run package` produces a deterministic `web-ext-artifacts/share_as_qr-<ver>.zip` -from a clean checkout. The zip contains only the files in `dist/`: +The plan is to distribute Naiv-QR through +[addons.mozilla.org](https://addons.mozilla.org) as a **listed** extension. +With listed distribution Firefox handles auto-updates from AMO directly — +the manifest must therefore **not** declare `gecko.update_url`. + +`bun run package` produces `web-ext-artifacts/naiv_qr-<ver>.zip` from a +clean checkout. The zip contains only the files in `dist/`: ``` dist/ @@ -108,8 +113,15 @@ dist/ popup/popup.js (bundled, minified) ``` -For AMO source-code review, point the reviewer at this repository and the -pinned upstream commit of `vendor/qrcode.js` documented below. +For first-time AMO submission, use the web UI at +https://addons.mozilla.org/developers/addon/submit/ — upload the zip, then +fill in summary, description, screenshots, categories, and license (MIT). +Subsequent versions can be uploaded via the API with `web-ext sign +--channel listed` once you have AMO credentials. + +For the AMO source-code review step (required because of the `bun build` +step), point the reviewer at this repository and the pinned upstream commit +of `vendor/qrcode.js` documented below. ## Third-party code diff --git a/icons/icon.svg b/icons/icon.svg index ec7e228..8397aff 100644 --- a/icons/icon.svg +++ b/icons/icon.svg @@ -1,4 +1,4 @@ -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" role="img" aria-label="Share as QR"> +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" role="img" aria-label="Naiv-QR"> <rect width="32" height="32" rx="6" fill="#1f2937"/> <g fill="#f9fafb"> <!-- Top-left finder --> diff --git a/manifest.json b/manifest.json index e4fafb4..13812d9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,11 +1,11 @@ { "manifest_version": 3, - "name": "Share as QR", - "version": "0.1.1", + "name": "Naiv-QR", + "version": "0.1.2", "description": "Share the current tab's URL as a scannable QR code.", "browser_specific_settings": { "gecko": { - "id": "share-as-qr@addons.naiv.no", + "id": "naiv-qr@addons.naiv.no", "strict_min_version": "142.0", "data_collection_permissions": { "required": ["none"] diff --git a/package.json b/package.json index 8a23303..25df07a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "share-as-qr", - "version": "0.1.1", + "name": "naiv-qr", + "version": "0.1.2", "private": true, "description": "Firefox extension: share the current tab's URL as a QR code.", "license": "MIT", diff --git a/popup/popup.html b/popup/popup.html index 2deadc8..15a9792 100644 --- a/popup/popup.html +++ b/popup/popup.html @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title>Share as QR + Naiv-QR