Magerko/google-unlocked
About
Google search DMCA notice viewer for Firefox, Chrome and Edge with local ONNX captcha recognition
Other ProjectsMeasured star growth
- in 24h
- +10
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalGoogle Unlocked
Русская версия · English
An extension for Firefox, Chrome and Edge. In Google results it shows the domains removed because of DMCA complaints: it reads the links to the Lumen complaints, collects the domains and adds a search link for each site. Results are cached for 30 days.
News and updates are in the Telegram channel @magerdev1.
Why
Google hides some results because of DMCA complaints, and in some result pages it leaves a link to the complaint in the Lumen database. The extension reads the domains from those complaints and shows them right in the results, so you do not have to change your country or search engine. The limit: it shows domains, not the full addresses of the hidden pages, and it only works when the results contain links to Lumen.
Download and install
All files are on the Releases page. <version> in a file name stands for the version number, for example 2.4.1.
| Browser | File | How to install |
|---|---|---|
| Chrome, Edge | google-unlocked-<version>-chrome.zip |
Unpack the archive into a permanent folder. Open chrome://extensions (edge://extensions in Edge), turn on Developer mode, click Load unpacked and select the folder. There is no .crx because Chrome on Windows does not install a .crx that does not come from the store. |
| Firefox 128+ | google-unlocked-<version>-firefox-signed.xpi |
Signed by Mozilla, no about:config changes needed. about:addons → gear icon → Install Add-on From File… → select the .xpi. If you had 2.4.0 or older, remove it first: 2.4.1 has a different ID and settings do not carry over. For automatic captcha solving update the project and run native/install.ps1 again. |
| Firefox Nightly, Developer Edition | google-unlocked-<version>.xpi |
Unsigned build for those who want to check it themselves: xpinstall.signatures.required = false in about:config. The signed file is usually easier. |
| Tampermonkey, Violentmonkey | google-unlocked.user.js |
Open the file in the manager and confirm the install. This is a reduced version without automatic captcha solving. |
A Lumen token is NOT needed. The extension works without it.
Node.js and Python are NOT needed for normal use. Python is only needed for automatic captcha solving (Windows, see section 3). You can also pass the Lumen captcha by hand.
For developers: building from source
You only need to build from source if you want to change the code or check the build yourself. Below are the requirements, the build, a manual install from dist/ and the captcha handler installer.
Requirements
- For building and tests: Node.js 22+ and npm.
- For local captcha solving: Windows 10/11, Python 3.12 and Windows PowerShell 5.1.
- Firefox 128+ or a current Chrome / Edge.
The extension works without the local handler too, but then the captcha has to be solved by hand. The handler installer targets Windows.
1. Download and build
Download the repository through Code → Download ZIP and unpack it into a permanent folder, or use Git:
git clone https://github.com/Magerko/google-unlocked.git
cd google-unlocked
npm ci
npm run build
If you downloaded the ZIP, open a terminal in the unpacked folder and run the last two commands. The build output appears in dist/.
2. Install the extension
Firefox
- Open
about:debugging#/runtime/this-firefox. - Click "Load Temporary Add-on…".
- Select
dist/firefox/manifest.json.
After a Firefox restart the temporary add-on has to be loaded again. For a permanent install grab a ready-made .xpi — see sections 2.1 and 2.2.
2.1. Ready-made builds
Ready packages can be downloaded without building from the Releases page:
google-unlocked-<version>.xpi— Firefox, installed as a permanent add-on;google-unlocked-<version>-chrome.zip— Chrome / Edge, unpacked and loaded unpacked;SHA256SUMS.txt— SHA-256 checksums of all files for integrity verification.
The archives are built automatically: when a v* tag is pushed, the .github/workflows/release.yml workflow runs the tests, packs the .xpi and .zip straight from the tag's code and publishes them to Releases together with the checksums. The archive is therefore guaranteed to contain exactly what is in the repository at that tag — you can verify it by running the same npm run build:artifacts command on the same commit and comparing the sums in SHA256SUMS.txt. The build is reproducible: file times and line endings do not affect the archives. Matching sums need the same Node.js major version as the workflow (22), because the compression depends on it. The workflow refuses to release when the tag differs from the manifest version.
2.2. Signing the .xpi for regular Firefox (Self-distributed)
An unsigned .xpi only installs in Nightly / Developer Edition with signature checks disabled. To make the extension work in regular stable Firefox without turning off protection, you can sign the file for free on Mozilla Add-ons in the Self-distributed mode — the add-on is not published in the public catalog.
Register on addons.mozilla.org and get API keys: AMO API Keys.
Build the
.xpi:npm ci && npm run build:artifacts.Sign it:
npx web-ext sign --source-dir dist/firefox --channel unlisted --api-key YOUR_ISSUER --api-secret YOUR_SECRET --artifacts-dir dist/signedThe signed file appears in
dist/signed/and installs into regular Firefox viaabout:addonswithout changing any settings.
The --channel unlisted flag means self-distribution (Self-distributed), not listing in the AMO catalog. The google-unlocked@magerko ID is preserved, so the local captcha handler keeps working.
To install the .xpi in Nightly as a permanent extension:
Download the
.xpifrom the Releases page or build it:npm ci npm run build:artifactsIn Firefox Nightly open
about:configand setxpinstall.signatures.requiredtofalse. Nightly and Developer Edition allow unsigned extensions; regular Firefox does not.Open
about:addons→ gear icon → "Install Add-on From File…" → select the.xpi.
The extension keeps the ID google-unlocked@magerko, so the local captcha handler keeps working. Building the .xpi needs no Mozilla signing.
For Chrome unpack google-unlocked-<version>-chrome.zip and load the folder as an unpacked extension.
Chrome / Edge
- Open
chrome://extensionsoredge://extensions. - Turn on "Developer mode".
- Click "Load unpacked" and select the
dist/chromefolder.
Do not run several copies of Google Unlocked at the same time.
3. Connect the automatic captcha solving
In a terminal at the project root run:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\native\install.ps1
The installer creates a Python environment, installs the dependencies, builds the local handler and registers it for the current user of Firefox, Chrome and Edge. Administrator rights are not needed. Internet access is needed to download the dependencies during the installation.
If the py command is unavailable, point the installer at Python:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\native\install.ps1 -Python "C:\Python312\python.exe"
Open the Google Unlocked settings:
- Firefox:
about:addons→ Google Unlocked → Settings. - Chrome / Edge: the extensions page → Google Unlocked → Extension options.
Click "Check models". You should see "Both models are ready". Automatic solving is on by default; you can turn it off with the checkbox.
Do not move the project folder after installing the handler. If you did, run the installer again.
How to use
- Run a search in Google. The results need a notice about removed results and links to Lumen.
- The extension loads the complaints and shows a block with the domains, the number of URLs and "search this site" and "VirusTotal" links.
- If Lumen asks for a check, its tab opens. Wait for the captcha to be solved: one attempt takes up to 110 seconds.
- After a successful check the extension returns to the results and continues loading. If the captcha fails, you can solve it by hand.
If the results contain no links to Lumen complaints, the extension adds nothing. Without a researcher token you usually get the domains and the number of URLs, but not the full addresses of the removed pages.
Interface language
Russian, Ukrainian and English are available. The default is "Auto": the block in the results follows the language of the Google page, or the browser language if the page does not declare one; the settings page follows the browser language. Any other language falls back to English.
You can pick a language in the settings. The choice is stored in the browser profile and applies to the settings page and to the block, even when the Google page itself is in another language. In the userscript the language, including "Auto", is picked from the script manager menu.
Site rating
The extension shows the domains removed from the results. Some of them are perfectly working sites, and some show up in complaints regularly and do not deserve trust. Every domain in the results block gets a rating: community-listed domains come first and the dangerous ones come last:
| Level | Badge | What it means |
|---|---|---|
| Community-listed | green | The domain is in the community link lists. This is not a guarantee of safety. If you added the domain yourself, the badge says "in your list" |
| Unverified | grey | Nothing is known about the domain |
| Disputed | yellow | The domain looks suspicious |
| Malware | red | The domain distributes malicious software |
The list lives in src/trusted-sites.json. Every entry remembers the source the verdict came from, and every source keeps its own date, so any domain shows where it came from and why it is in the list:
{
"sources": {
"wiki/all_purpose": {
"title": "r/Piracy Wiki — Megathread / All Purpose",
"url": "https://www.reddit.com/r/Piracy/wiki/megathread/all_purpose/",
"date": "2026-10-28",
"kind": "moderator-approved link list"
}
},
"trusted": [
{ "domain": "1337x.to", "source": "wiki/all_purpose" },
{ "domain": "rutracker.org", "source": "wiki/all_purpose", "note": "GOAT status" }
],
"disputed": [],
"malware": [
{ "domain": "app-valley.vip", "source": "wiki/unsafe-sites", "reason": "Unethical conduct: injection of insidious malware" }
]
}
Hover a badge to see the source title, its date and the reason of the verdict.
A domain that is in none of the lists gets the "unverified" level. An entry for example.com covers the domain itself and its subdomains (www.example.com). The file is inlined into the extension at build time, so changes are visible after a rebuild.
Where the verdicts come from
The list is built from community sources, and the verdicts in it are quotes of the community rather than our own assessment:
| Source | What it is | Date |
|---|---|---|
| r/Piracy Wiki — Megathread (10 categories) | Link lists approved by the moderators; some entries carry the GOAT mark — "highly regarded by the pirate community" | Date of the last edit of the page |
| r/Piracy Wiki — Unsafe Sites | The list of sites the pirate community avoids: "fake clone" and "injection of insidious malware" | 2025-05-24 |
| FMHY (FreeMediaHeckYeah) | The community link list, a snapshot from the Stintik-123/MegaThread repository | 2026-11-10 |
| Author's seed list | A few well-known domains | 2026-11-29 |
The rules the list is built by:
- A domain that one source calls safe and another calls dangerous ends up as dangerous: the warning wins.
- The wiki lists domains with dashes instead of dots (
1377x-to=1377x.to), while a dash inside the name is kept (app-valley-vip=app-valley.vip). - Brands marked in the wiki as "every single domain", with no domains listed, are left out: matching by name would hit unrelated sites. The
disputedandmalwarelevels only hold concrete domains of those brands found in other community lists. - Platforms with other people's content — file hosts, pastebins, video hosts, code and script hosts, search engines, messengers — and their subdomains never get the "community-listed" mark: every link there has a different author. A direct community warning about such a domain is kept.
- Entries that could not be confirmed and
.i2p/.onionaddresses are excluded. The exclusion lists live inscripts/update-trust-base.mjs, so a rebuild does not bring them back.
You can add your own lists in the extension settings (Firefox: about:addons → Google Unlocked → Settings). There is also a checkbox "Hide disputed sites and malware in the results". When it hides something, a "hidden: N" line appears under the list. Your entries win over the list from the repository: they override it in either direction, even when the mark there is more dangerous. The more dangerous mark wins only inside one source: when a domain is in several of your lists or in several levels of the base list.
You can paste a domain or a whole address: the scheme, www., port and path are dropped, and non-Latin domains are converted to punycode. IP addresses, invalid names, entries without a dot, whole registry zones (com, co.uk) and hostings (github.io, pages.dev, vercel.app, netlify.app, blogspot.com, web.app, workers.dev) are not saved, while a concrete subdomain such as foo.github.io is fine — the settings page shows what was rejected.
Updating the list
The list is built by scripts/update-trust-base.mjs from exported community sources instead of being edited by hand:
- Export the live wiki into TSV files — one file per category (
wiki-all_purpose.tsv,wiki-anime.tsvand so on) andwiki-unsafe-sites-rows.tsvwith the rows of the unsafe sites table. The row format is:category,domain,name,GOAT, separated by tabs. - Put the FMHY snapshot next to them:
fmhy-links.json(an object withsourceanditems, each item has aurl). - Run
node scripts/update-trust-base.mjs <folder with the exports>. If the file of any category is missing, the script fails and leaves the list untouched.
The script rebuilds src/trusted-sites.json. The dates of the last edits of the wiki pages and the date of the FMHY snapshot are set in the script itself — they have to be updated when the sources change.
Lumen token — optional
The token is not needed for the extension to work: it only unlocks fuller data.
A Lumen researcher token can be pasted into the settings. In this mode the extension queries the API directly and can show the full URLs. If the token is rejected, the normal loading through the tab is used.
The token is stored locally in the browser settings and is only sent to Lumen. Do not put it into the project files.
Permissions and security
The extension only talks to Google search results and the Lumen database, collects no statistics and does not send anything to third-party servers by itself. The only exception is the "VirusTotal" link: the domain goes there only if you click it (see below). What manifest.json asks for and why:
| Permission / access | Purpose |
|---|---|
storage |
Stores settings and data locally in the browser: language, Lumen token, custom domain lists, notice cache. |
scripting |
Targeted executeScript on Lumen pages to read the page title and complaint links. |
nativeMessaging |
Communication with the local Python captcha handler from section 3. The models and recognition run on your machine, nothing goes to the network. |
https://lumendatabase.org/* |
Requests to the Lumen database: searching notices and fetching links. |
https://www.google.com/recaptcha/*, https://www.recaptcha.net/recaptcha/* |
Captcha pages only, for automatic solving. |
content_scripts |
Registered only on *://www.google.<domain>/search* (the domain list lives in src/google-domains.json). The extension's code never runs on any other site. |
All DOM output is built with createElement / textContent / setAttribute, with no innerHTML or document.write, so data from Lumen or the rating base cannot inject markup into the page. No remote code is loaded: everything that executes lives in the repository and goes into the archive at build time.
Rating, VirusTotal and passwords
- The site rating (community-listed, unverified, disputed, malware) is computed locally from
src/trusted-sites.json. No domains are sent anywhere for it. - Next to each domain (except IP addresses) there is a "VirusTotal" link to
https://www.virustotal.com/gui/domain/<domain>. The extension never contacts VirusTotal by itself: the domain goes there only when you click the link. - The extension never asks for a password or account details. If a listed site asks for a password or asks you to install software, that has nothing to do with the extension.
Limitations
- The extension limits the normal loading to 9 requests per minute and 28 per hour. When the limit is exhausted it shows the resume time and waits. The Lumen server may apply its own limits.
- Only reCAPTCHA v2 with 3×3 grids, loaded as tiles, and 4×4 challenge images supported by the model are supported. Other captcha types are not supported, and the recognition may be wrong.
- Automatic solving only works on the Lumen check page. Anubis is solved by the browser itself.
- Captcha images are passed to the local process through Native Messaging. This implementation does not send the images to a third-party recognition service.
If something does not work
| Problem | What to check |
|---|---|
| "Check models" says automatic solving is not installed | It is optional. Pass the captcha by hand or install the handler from section 3. |
| "Check models" returns another error | Run native/install.ps1 again and check that the project folder was not moved. |
| No block in Google | The results must contain links to Lumen complaints. Reload the page after loading the extension. |
| The captcha is not solved | Check the automatic solving checkbox and the last status in the settings. Solve it by hand if needed. |
| A Lumen limit message | Wait for the time shown; reloading does not lift the limit. |
| Firefox lost the extension after a restart | A temporary add-on is always lost. Install the signed .xpi from the Releases page. |
For Firefox errors open about:debugging → Google Unlocked → "Inspect" → "Console". In Chrome / Edge open the extensions page and the console of the Google Unlocked service worker.
The ID of the stock Chrome / Edge build is mifgnjonedpicacfieeabbfpffednjif. If your ID differs, pass it to the installer with -ExtensionId YOUR_ID. Firefox uses google-unlocked@magerko.
Updates and checks
After updating the sources:
npm ci
npm test
npm run build
For Firefox with a permanent install use npm run build:artifacts instead of npm run build — it builds the regular dist/ plus the .xpi and the Chrome .zip.
Reload the extension on the add-ons page and refresh the Google / Lumen tabs. If the Python dependencies or the project location changed, run the installer again.
Checks of the handler after installing it:
.\native\.venv\Scripts\python.exe -m unittest discover -s native -p test_host.py
Userscript
An alternative is google-unlocked.user.js (on the Releases page, or dist/google-unlocked.user.js after a build) for Tampermonkey or Violentmonkey. It is produced by the same build command but does not use the local models: automatic captcha solving is not possible in a userscript because it needs Native Messaging. A userscript has no settings page, so the interface language and "hide disputed and malware sites" are switched from the script manager menu (the script commands); the page reloads after you pick one. Passing Lumen cookies in this variant is not verified.
Project layout and sources
src/— shared logic for processing the results and the complaints.src/trusted-sites.json— the base list: community-listed and dangerous domains.extension/— the extension and the browser settings.native/— the local handler, the installer and the models.userscript/— the variant for a userscript manager.test/— tests and small test pages.build.mjs,build-artifacts.mjs,build-lib.mjs— the extension build and the ready-made archives.
The dist/ builds, the dependencies, the virtual environment and the machine settings are generated locally and are not part of Git.
The project is based on Ibit-to/google-unlocked. The models and the recognition settings come from Free AI ReCaptcha Solver by Raptor; their MIT license is kept in native/models/LICENSE.
Thanks to Stintik-123 for the site rating and the English translation (PR #1).
License
MIT. The recognition models have their own MIT license, see native/models/LICENSE.
Explore related projects
Loading…