Last active
August 31, 2026 18:34
-
-
Save yelhouti/f4359bad1c65686c2cd1426ae7e24734 to your computer and use it in GitHub Desktop.
LinkedIn scans your browser for 4,934 Chrome extensions. Here is how to see it yourself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # LinkedIn scans your browser for 4,934 Chrome extensions. Here is how to see it yourself. | |
| I was debugging an unrelated console error on linkedin.com last week and noticed something odd: hundreds of failed requests to `chrome-extension://invalid/`. | |
| Here is what is going on. | |
| Any web page can test whether you have a specific Chrome extension installed by requesting a file from it. If the extension is there, the file loads. If it is not, Chrome rewrites the URL to `chrome-extension://invalid/` and the request fails silently. No permission needed, nothing visible to the user. | |
| LinkedIn's page bundle walks a hardcoded list of extension IDs and probes each one in turn. I logged the list. It contains 4,934 entries, in alphabetical order, each paired with a real file path inside that specific extension: `icon16.png`, `content.css`, `assets/index-DgZXh0UX.js`. Nobody writes those by hand. Someone crawled the Chrome Web Store, downloaded the extensions, parsed their manifests and built a detection list. | |
| For scale, the Chrome Web Store holds somewhere around 100,000 to 130,000 extensions. So this is not the whole store, but it is a deliberately assembled catalogue of roughly one in every twenty five. | |
| ## Reproduce it in 30 seconds | |
| Open DevTools on linkedin.com, reload, and paste this in the console: | |
| ```js | |
| const ids = performance.getEntriesByType("resource") | |
| .map(e => e.name) | |
| .filter(u => u.startsWith("chrome-extension://")); | |
| console.log("probed:", new Set(ids).size); | |
| console.log("detected:", [...new Set(ids)].filter(u => !u.includes("://invalid/"))); | |
| ``` | |
| The first number is how many extensions the page tested for. The second list is the ones you actually have. Chrome rewrites every miss to `invalid`, so anything that survives that filter is an extension LinkedIn now knows is installed in your browser. | |
| If the resource buffer has already been evicted by the time you look, capture them live instead. Find the `window.fetch` wrapper in the main bundle and set a logpoint on it: | |
| ```js | |
| String(n?.url ?? n).startsWith("chrome-extension://") && (window.__ids ??= []).push(String(n?.url ?? n)) | |
| ``` | |
| Then reload and read `new Set(window.__ids).size`. | |
| ## "It's anti-scraping" | |
| That is the obvious defence, and for part of the list it holds up. Plenty of entries are LinkedIn automation and lead-scraping tools: `automation/linkedin.js`, `scraper.html`, `extractor-engine.js`, `linkedin-main-world-bridge.js`. Enforcing the User Agreement against those is a real interest. | |
| But the same list also probes for: | |
| - Ad blockers and privacy tools, including one extension's own `anti_fingerprinting.js` | |
| - PDF readers, among them Adobe Acrobat | |
| - Focus timers and screen-time blockers | |
| - Games, translation tools, note-takers, a Bible-verse extension | |
| - Visa sponsorship databases: H-1B indexes, LCA data, UK Tier sponsor lists | |
| - Resume builders, layoff trackers, salary data, interview prep, ATS integrations | |
| That last group is where the argument falls apart. Detecting a visa-sponsorship lookup tool tells you something about someone's immigration situation. Detecting three resume builders and a layoff tracker tells you they are job hunting. Neither helps stop a scraper. Both are commercially useful to a professional network. | |
| There is also a certain irony in probing an extension for the exact file it ships to block fingerprinting. | |
| ## Why the scope matters | |
| Under ePrivacy Article 5(3), reading information from a user's terminal equipment requires consent unless it is strictly necessary. The EDPB's Guidelines 2/2023 put fingerprinting squarely inside that scope, and the strict-necessity exemption is narrow. Under GDPR, legitimate interest has to be both necessary and proportionate. | |
| A targeted list of known scraping tools might clear that bar. A 4,934 entry sweep that returns signals about job-seeking and visa status is a much harder case to make. | |
| Worth remembering that your particular set of installed extensions is close to unique, stable across sessions, and survives clearing cookies. | |
| ## One practical note | |
| Firefox is immune to this by design: extension URLs use a random UUID generated per install, so there is nothing to enumerate. Chrome has no equivalent protection. On Chrome your only real lever is restricting each extension's site access. | |
| I have the full list and the console logs. Happy to share them with anyone who wants to verify this independently. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment