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.