npm run validate
npm run test:e2e
npm run build:storeThe build regenerates the canonical runtime and icons, stages only declared Chrome files, validates the target manifest, verifies the ZIP entry set and contents, and prints its SHA-256 digest.
Upload a package in the Chrome Developer Dashboard:
| Mode | File | When |
|---|---|---|
| Default | dist/byebar-chrome-0.7.0.zip |
Before opting in to verified CRX uploads |
| Verified CRX | dist/byebar-chrome-0.7.0.crx |
After opting in (required for all future uploads) |
Chrome can require that only you can upload new versions, by verifying uploads against an RSA public key you register. Google still re-signs the extension for users; your key only gates who may upload.
Before opting in: you can upload .zip files (current npm run build:store flow).
After opting in: every upload must be a .crx signed with your private key. If you lose the private key, you cannot publish updates until Chrome Web Store support helps (can take ~1 week).
mkdir -p store/signing
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out store/signing/privatekey.pem
chmod 600 store/signing/privatekey.pemstore/signing/ is gitignored. Never commit privatekey.pem. Back it up somewhere safe (password manager, encrypted backup).
openssl rsa -in store/signing/privatekey.pem -puboutPaste the entire output into Package → Verified CRX uploads → Public key, including:
-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----
Then click opt in.
npm run build:store:crxUpload the versioned .crx in dist/ with Upload New Package (not the zip).
Set BYEBAR_CRX_PRIVATE_KEY if your key is not at store/signing/privatekey.pem. Set CHROME_PATH if Chrome is not in the default macOS location.
| Field | Value |
|---|---|
| Name | ByeBar |
| Summary | Remove distracting popups and make webpages easier to browse. |
| Description | See below |
| Category | Productivity |
| Language | English |
| Homepage | https://byebar.mattivan.com/ |
| Privacy policy | https://byebar.mattivan.com/privacy.html |
| Support | https://byebar.mattivan.com/support.html |
Description (listing tab):
ByeBar hides validated newsletter modals and subscribe bars, and can click confirmed cookie-reject or optional terms controls. Its toolbar popup can run the same conservative rules on demand when a CSS-only page change evades automatic observation. Marker-based hides are reversible, while site control clicks are not. Not an ad blocker; it does not block ads, trackers, or network requests. No telemetry.
Open your item → Privacy practices → fill every required field → Save draft.
ByeBar has one purpose: remove intrusive on-page overlays and popups (newsletter modals, subscribe bars, cookie consent banners, terms dialogs, and similar page chrome) from websites the user visits, so pages are easier to read and browse. It is not an ad blocker and does not block network requests, ads, or trackers.
| Field | Justification |
|---|---|
| storage | Saves global defaults, hostname-keyed site overrides, and the diagnostics preference in device-local extension storage. Nothing is sent to the developer. |
| activeTab | Reads the active tab's URL hostname so the toolbar popup can show whether ByeBar is enabled on the current site and let the user set a local per-site override. No page content is collected or transmitted. |
Host permission (<all_urls>) |
Injects content scripts into eligible top-level pages to detect and remove intrusive overlays in the page DOM. Embedded frame contents are not processed. ByeBar does not send browsing data or diagnostic decisions to the developer. |
| Remote code | ByeBar does not use remote code. All JavaScript and CSS are bundled in the published package. The extension does not fetch, load, or execute scripts from external servers at runtime. |
Answer No to collecting user data. Typical answers:
| Question | Answer |
|---|---|
| Does your extension collect user data? | No |
| Is data sold to third parties? | No |
| Is data used for purposes unrelated to the extension's single purpose? | No |
| Is data transferred to third parties (except as required for core functionality)? | No |
Then check the box certifying compliance with the Developer Program Policies.
| Asset | Size | Notes |
|---|---|---|
| Icon | 128×128 | Included in the zip (icons/icon-128.png) |
| Screenshots | 1280×800 or 640×400 | At least one; capture the popup and a before/after page |
| Small promo tile | 440×280 | Required |
| Marquee promo | 1400×560 | Optional |
Add screenshots to store/screenshots/ before publishing (not bundled in the zip).
-
npm run validate,npm run test:e2e, andnpm run build:store - Support URL live: https://byebar.mattivan.com/support.html
- Privacy policy live: https://byebar.mattivan.com/privacy.html
- Privacy practices tab: all justifications + single purpose + data certification
- Load
dist/stage/chrome, or extract the ZIP and load the extracted directory, then smoke-test - Account: one-time $5 developer registration fee (if not already enrolled)
Add the store link to docs/index.html and the README install section.