A tiny Chrome extension that stops LinkedIn’s “extension probing” from spamming your console and using lots of memory.
LinkedIn’s site runs code that tries to detect which Chrome extensions you have. It does this by trying to load a file from a large set of extension URLs. For example:
chrome-extension://some-id/some-file.png
When you don’t have that extension, the request fails. Chrome logs each failure. After a minute you get thousands of errors and the tab can use a lot of memory. Same issue discussed here:
LinkedIn has said they’re working on a fix. Until then, this extension is a temporary workaround.
It runs before LinkedIn’s script and changes how fetch, XMLHttpRequest, and image loading work only for URLs that start with chrome-extension://. For those URLs it immediately returns “failed” without sending a real network request. So:
- No thousands of real requests → no memory spike
- No thousands of console errors
- All other LinkedIn traffic (pages, API, images) is unchanged
Privacy: The extension does not collect, store, or send any data. It only runs on LinkedIn and only blocks those probe requests.
- Open this repository on GitHub. You can either click Code → Download ZIP, or use the Releases page and download the extension zip for the latest version.
- Unzip the folder.
- In Chrome go to chrome://extensions/, turn Developer mode on (top right), click Load unpacked, and select the unzipped folder (the one that contains
manifest.json). - Reload LinkedIn. The console errors should stop.
-
Download or clone this repository so you have a folder with:
manifest.jsoncontent.js- (optional)
README.md
-
Open Chrome and go to chrome://extensions/
-
Turn Developer mode on (top right)
-
Click Load unpacked
-
Select the folder that contains
manifest.jsonandcontent.js -
Reload LinkedIn. The console errors and memory issue should stop.
- manifest.json – Tells Chrome: “Run
content.json LinkedIn pages, as early as possible (document_start), in the page’s own context (world: MAIN) so we can overridefetchbefore LinkedIn’s script runs.” - content.js – The code that overrides
fetch,XMLHttpRequest, and imagesrcand blocks any request whose URL starts withchrome-extension://. Heavily commented so you can read and share it.
- Reload the LinkedIn tab after installing or updating the extension (F5 or Cmd+R on the LinkedIn page).
- Make sure the extension is enabled at
chrome://extensions. - If it only worked after you edited the manifest: the extension runs on
www.linkedin.com,linkedin.com, and all*.linkedin.comsubdomains. If your LinkedIn URL is different, ensure it's covered under the extension's "Site access" on the extension's details page.
No. This only affects requests that the LinkedIn page makes (e.g. LinkedIn’s own script calling fetch("chrome-extension://...")). Your other extensions are loaded by Chrome, not by the page, and their content scripts run in a separate context. They keep working normally.
You can disable or remove this extension. It’s only a temporary fix until LinkedIn ships their fix.