This tool checks a built extension ZIP before it is uploaded to the Chrome Web Store. It opens the ZIP in a real Chromium browser, goes through every panel and writes one report that opens in a browser.
It checks the ZIP itself, not the source folder, and it does not change the manifest. What it tests is what the store will receive.
undefined or NaN, controls with no name,
sideways scrolling, security-policy violations and any request the extension sends to an outside address.
It also does ten things a person does (pick an element, watch a request, export a ZIP, run a scan and so on).report.html with a verdict, a list of what needs attention, and a screenshot of every panel.checklist.html lists what a script cannot do in the normal Chrome (see below).Node.js 18 or newer is needed. From this folder:
npm ci
npx playwright install chromium
node livecheck.js --zip path/to/DevForge-4.5.0-extension.zip --headed --slow 150
The tool has its own package.json and lockfile (Playwright 1.63.0 only). They are separate from the
extension’s: nothing here goes into the extension ZIP, and the extension’s npm ci does not install
Playwright. --headed opens a visible browser window. --slow 150 slows each step down a little. Leave both out
for a fast run without a window.
When it finishes it prints the path of report.html.
Put the .sha256 file next to the ZIP (same name plus .sha256) and the tool checks it too.
| Option | What it does |
|---|---|
--audit-only |
Only the package check. Takes a second. No browser. |
--url https://example.com |
Also loads that page with the extension installed (repeat the option for more pages). The tool only visits addresses it is given. |
--out folder |
Where to write the report. |
--chrome path/to/chrome |
Use a different Chromium or Chrome for Testing build. Normal Chrome 137 and newer will not load the extension this way. |
node selftest.js path/to/DevForge-4.5.0-extension.zip --live
It makes broken copies of the ZIP (a source map, a new permission, an unsafe policy, a console error, a
request to an outside address and so on) and checks that the tool notices every one. All lines must say ok.
checklist.html.permission-reasons.json holds the plain reason for each permission. Edit it when the manifest changes; the
package check fails if a permission has no reason, or if the code uses an API without its permission.