Как найти расширения Chrome, которые внедряют рекламу в любую веб-страницу, которую я просматриваю?

16995
giorgio79

Я использую браузер Google Chrome. Недавно я заметил, что случайные объявления показываются - либо на содержании страницы, либо путем перенаправления - когда я нажимаю на ссылку, вместо соответствующей страницы открывается страница объявления.

Я подозреваю, что эти объявления добавляются расширением Chrome, но как я могу найти оскорбительное?

Рекламные объявления появляются случайным образом с перерывами.

28
Используете ли вы блокировщик рекламы, как AdBlock Plus? Если это так, то может быть просто необходимо обновить определения объявлений, чтобы они распознавали все объявления. childofsoong 9 лет назад 0
Если вы используете Windows, и это расширение, которое вы не установили добровольно, и оно указано в `chrome: // policy`, то вы можете найти нежелательного гостя в`% WINDIR% \ System32 \ GroupPolicy \ Machine` или `% WINDIR% \ System32 \ GroupPolicy \ User`. Удалите ** Registry.pol ** или любые другие файлы **. Pol **, если они существуют в этом месте. Vinayak 9 лет назад 3
Спасибо, я использую Flashblock. Кажется, расширение Lastpass вставляет эти объявления (через домен Panoramtech.com) giorgio79 9 лет назад 0
На Chrome вы не можете эффективно блокировать вспышку. Вместо этого используйте noscript на firefox Giacomo Tecya Pigani 9 лет назад 0
@ giorgio79 Расширение Lastpass определенно НЕ вставляло эти объявления. EKW 9 лет назад 6
@EKW прав, попробуйте сначала ответить, прежде чем выбрать лучший ответ ... Giacomo Tecya Pigani 9 лет назад 0
если вы говорите о соединениях с открытым текстом (не https), то это также может быть ваш провайдер. Sarge Borsch 9 лет назад 0
@GiacomoTecyaPigani: Chrome фактически позволяет детально контролировать, какие плагины должны запускаться: http://i.imgur.com/aQXthv4.png Я использую «щелчок для запуска» для Flash. Der Hochstapler 9 лет назад 2
@GiacomoTecyaPigani для этого есть uMatrix. Tanath 9 лет назад 0
PS: оказалось, что нарушающим расширением было Показать / Скрыть пароли, а не LastPass! Я мог проследить за внедрением через сетевые источники и просмотреть сценарии инициатора вплоть до js-файла плагина (Didier-content.js), поэтому решение было объединено решением Джакомо и Оливера. giorgio79 9 лет назад 1

6 ответов на вопрос

45
Der Hochstapler

Depending on your JavaScript knowledge, you can check out the scripts that can manipulate websites you visit.

  1. Press F12 to open the Developer Tools. Alternatively, open the Developer Tools from the "hamburger menu":

    enter image description here

  2. On the Sources tab, select the Content scripts tab. You should see a list of all your extensions that load content script.

    enter image description here

    "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.

  3. 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:

    enter image description here

31
Giacomo Tecya Pigani

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...

  1. Open the Developer Tools

    Developer tools

  2. Open the Developer Tools in a new window and reduce the window to icon DockDock

  3. Browse the web and wait for the Ads to appear. In this case I'm using an extension which replaces ads with cats pictures

    cat picture

  4. 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.

    initiator

  5. 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.

    last


Easier method (may be less effective)

  1. Go to the installed extensions page

    extension page

  2. For each extension, click on Details

    catblock

  3. 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

    update date

  4. Last but not least, look at the reviews, preferably ordered by Recent. If you see somenthing like this, you may have found the culprit.

    User reviews

Я использовал этот способ для проверки своей страницы, в которой с помощью пустого расширения Chrome для холста я внедряю код, но я не вижу его на вкладке сети. Как так?? Suraj Jain 6 лет назад 0
Вы только что ответили, я видел уведомление, но когда я щелкнул его, не было ответа Suraj Jain 6 лет назад 0
@SurajJain Если вкладка сети пуста, то не было установлено никакого соединения. Поскольку объявления должны быть загружены, если вы видите рекламу, вкладка сети не может быть пустой. Либо что-то, что вы говорите, что это неправильно, или это может быть то, что то, что вы отображаете, кэшируется, но я не уверен насчет второго Giacomo Tecya Pigani 6 лет назад 0
На самом деле, я сам внедряю код, и я вижу код в исходном коде, он работает нормально, я просто хотел посмотреть через вкладку сети, но там он не отображается. Suraj Jain 6 лет назад 0
22
That Brazilian Guy

Disable all chrome extensions, see if the problem stops. Enable each extension one by one. When the issue reappear, you have found the culprit.

Если у вас действительно много расширений, вы можете использовать предыдущий ответ, данный Оливером, чтобы помочь вам выбрать только те, которые изменяют отображение страниц. Меню гамбургера Chrome -> Дополнительные инструменты -> Инструменты разработчика -> вкладка «Сценарий содержимого» содержит список всех расширений, которые изменяют отображение страниц веб-сайтов. https://www.howtogeek.com/213096/how-do-you-find-chrome-extensions-that-inject-ads-into-web-pages/ Quidam 7 лет назад 0
2
Brian

У меня было несколько клиентов, которые сообщали об рекламном программном обеспечении в своем браузере (все они используют Google Chrome). У них было несколько произвольно названных расширений, поэтому я удалил их. Наряду с вируссканским расширением не возвращались, но реклама все еще появлялась.

Какое было решение? Исполняемый файл Chrome был как-то заражен. Расположен в:

Программные файлы (x86) \ Google \ Chrome \ Application \ chrome.exe

Пользователи \ AppData \ Local \ Google \ Chrome \ Application \ chrome.exe

Удаление Chrome и его установка снова работали без нареканий. Другой способ - обновить Chrome, но для этого может потребоваться включить обновления для Google Chrome:

В редакторе реестра в Windows ( regedit ): откройте ключ HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Update. Установите UpdateDefaultзначение ключа в 1.

После обновления Chrome все рекламное ПО пропало. Ура!

-1
Phin Pie

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\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!

Adding on to Brian's response...

Be sure to look out for any recent suspicious software names in either Program Files (x86) and AppData/Local, as well as any suspicious processes in Task Manager. Especially something like "OctaWare.xyz.exe", "BroowserENHuance" and "CoupMania".

Look in the Event Viewer for any additional info and be sure to search and delete their keys in the Registry.

-3
That Guy

The correct way to fully remove the software responsible:

Go to Menu

Click Settings

OR

Navigate to chrome://settings/ in your omnibar

Open "Extensions"

Click on "Developer Mode" check box

Below each extension it should list the full directory path and you can remove the file permanently from your system.

In my experience most ad-ware injectors currently hide in the C:/ProgramData folder. To view this you will likely have to enable hidden files from your folder view options. Most times they have a long string of random letters and numbers as their name. In the event that chrome doesn't show the full path to the extension, match up the id shown under the extension with the matching folder in C:\ProgramData and remove that folder. Restart Chrome and your ads should be gone.

Keep in mind that it could be an adware injector service installed under programs and features.

Take care when you are in that folder to only remove the entries for the extension and nothing else!

This is a better answer as it will apply to all websites, does not require an ad to appear, and also addresses the issue rather than simply overriding the offending software's script.

Зачем связываться с файловой системой, если вы можете просто удалить расширение прямо из браузера? Кроме того, это не решает проблему в вопросе, как выяснить, какое расширение вводит рекламу. Удаление указанного расширения, как только вы нашли его, должно быть тривиальным, поэтому существующие ответы не обсуждают этот шаг. Ajedi32 9 лет назад 0
Потому что большинство рекламных инжекторов, которые я видел, переустанавливаются после удаления из Chrome с помощью корзины на экране расширений. Buyandsave для одного примера. Это единственный способ, который я нашел, чтобы фактически удалить преступника из хрома. Вы правы в том, что я не ответил на его вопрос. That Guy 9 лет назад 0
Режим разработчика не показывает полный путь в Chrome 43.0.2357.124. Просто показывает удостоверение личности. Также обратите внимание, что некоторые вредоносные расширения не имеют собственной записи расширения. Они просто являются частью расширения, которому вы доверяете. Копаться в работающем процессе - лучший способ идентифицировать связанные файлы. jiggunjer 8 лет назад 0

Похожие вопросы