Katharos is a Chrome and Firefox extension that blocks AI answers in your favourite search engines.
- TypeScript 73.2%
- JavaScript 15.8%
- CSS 9%
- HTML 2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| assets | ||
| extensions | ||
| icons | ||
| scripts | ||
| shared | ||
| tests | ||
| .editorconfig | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| PRIVACY.md | ||
| README.md | ||
| tsconfig.json | ||
katharos
Katharos is a Chrome and Firefox extension that blocks AI answers in your favourite search engines.
Supported engines:
- Google (including regional domains such as google.co.uk and google.ca)
- DuckDuckGo
- Brave Search
- Qwant
Store Downloads
Build
pnpm install
pnpm build
This type-checks the code and builds the extensions for both browsers here:
dist/katharos-chrome-<manifest-version>.zipdist/katharos-firefox-<manifest-version>.zip
To build for only a single platform, you can do the following:
pnpm build:chrome
pnpm build:firefox
The version comes from package.json; the build writes it into both manifests.
Test
pnpm test
The tests check the URL rewriting each engine needs, both in the content script and in the declarativeNetRequest rules generated from the same config.
How it works
Each engine is a config in shared/adaptors/. From it the extension derives:
declarativeNetRequestredirect rules, kept in sync by the background script, which rewrite search URLs before the request is sent.- A content script that hides leftover AI elements, adds the same params to submitted search forms, and re-applies the rewrite after in-page navigations.
- The manifest's content script matches and host permissions, injected at build time.
Local install
Chrome:
- Open
chrome://extensions. - Enable developer mode.
- Load unpacked extension from
build/chrome.
Firefox:
- Open
about:debugging#/runtime/this-firefox. - Load temporary add-on.
- Pick
build/firefox/manifest.json.