WebExtension to Get All DNS records.
https://addons.mozilla.org/fr/firefox/addon/get-dns/
- TypeScript 74.3%
- Svelte 16.1%
- JavaScript 6.5%
- HTML 1.7%
- CSS 1.4%
|
All checks were successful
Publish to Firefox Add-ons / publish (release) Successful in 33s
|
||
|---|---|---|
| .claude/skills | ||
| .dev | ||
| .forgejo | ||
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| .prettierrc | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||
| wxt-env.d.ts | ||
| wxt.config.ts | ||
getDNS
Firefox WebExtension to Get All DNS records.
Requirements
- Node.js 22 or later
- pnpm, at the version pinned in
package.json(packageManager)
Install
pnpm i
Development
pnpm dev (opens Firefox with the extension loaded)
Checks
pnpm check: type checkingpnpm test: unit testspnpm lint: addons-linter, the validator AMO runs (needs a build first)pnpm audit:osv: known vulnerabilities in the dependencies (needs osv-scanner)
Production
pnpm build: build to.output/firefox-mv2/pnpm zip: package the add-on and its sources for AMO
Publishing
Publishing a release on Forgejo, tagged with the package.json version, submits the add-on to AMO through .forgejo/workflows/publish.yml. The runner lives in .dev/forgejo-runner/. See the forgejo-actions skill for the setup and the release procedure.
Data sent
Opening the popup sends the current tab's domain to Google Public DNS, which answers the lookups. Internal pages, IP addresses and private names (.local, .internal, .lan, .localhost, .home.arpa, single labels) are never sent.
Build from source (AMO reviewers)
- Install Node.js 22+ and pnpm 10.34.8 (or run
corepack enable). pnpm install --frozen-lockfilepnpm zip
The add-on is written to .output/getdns-<version>-firefox.zip, and the unpacked build to .output/firefox-mv2/.