How to find Chrome extensions that inject ads into any webpage I browse?
Solution 1:
Depending on your JavaScript knowledge, you can check out the scripts that can manipulate websites you visit.
-
Press F12 to open the Developer Tools. Alternatively, open the Developer Tools from the "hamburger menu":
-
On the Sources tab, select the Content scripts tab. You should see a list of all your extensions that load content script.
"Content script" is the term that is used for scripts that are running in the context of the website you're visiting. These scripts have the ability to manipulate web content in any way they want.
-
You can now inspect those scripts and see how they're messing with your page.
Hint: In case they're using minified sources, enable the code beautifier:
Solution 2:
My way is easier, since you don't have to examine extensions like AdBlock which don't add elements to your page :)
Also, If you aren't a tech-savvy, go to the bottom: there's any solution that may work for you...
Open the Developer Tools
Open the Developer Tools in a new window and reduce the window to icon
-
Browse the web and wait for the Ads to appear. In this case I'm using an extension which replaces ads with cats pictures
-
Go to the Network tab, and look for the initiator column. Usually it's called something like content script.js. Click it and that's the content script that messed up your page.
If from taking a look at the code you can't guess which extension is, you can go to Sources tab, click on Content Scripts and look for the extension with a *.js file named like the one we found at point 4.
Easier method (may be less effective)
-
Go to the installed extensions page
-
For each extension, click on Details
-
If the Ads started popping up just recently, look for when it was updated. Chrome extensions update by themselves. This may help you if you started seeing ads today and casually the extension was updated today
-
Last but not least, look at the reviews, preferably ordered by Recent. If you see somenthing like this, you may have found the culprit.
Solution 3:
Disable all chrome extensions, see if the problem stops. Enable each extension one by one. When the issue reappear, you have found the culprit.
Solution 4:
I've had a few customers reporting adware in their browser (all are/were using Google Chrome). They had a few randomly-named extensions, so I removed those. Along with a virusscan the extentions did not come back, but the ads were still popping up.
What was the solution? The Chrome executable was somehow infected. Located in either:
Program Files (x86)\Google\Chrome\Application\chrome.exe
Users{Username}\AppData\Local\Google\Chrome\Application\chrome.exe
Removing Chrome and installing it again worked flawlessly. Another way is updating Chrome, but that may require you to enable updates for Google Chrome:
In the registry editor in Windows (regedit): open the key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Update
.
Set the UpdateDefault
key value to 1
.
After updating Chrome all adware was gone. Yay!