AdguardTeam / AdguardBrowserExtension

AdGuard browser extension
https://adguard.com/
GNU General Public License v3.0
3.14k stars 334 forks source link

The number of ads on the AG icon shows 0 ads,this value changes with a reload of the web page #3009

Open SampeiNihira opened 1 month ago

SampeiNihira commented 1 month ago

Please answer the following questions for yourself before submitting an issue

AdGuard Extension version

5.0.138

Browser version

Edge latest version

OS version

Windows 10 Home x64

Ad Blocking

AdGuard Base filter, AdGuard Quick Fixes filter

Privacy

AdGuard URL Tracking filter

Social

No response

Annoyances

AdGuard Cookie Notices filter

Security

No response

Other

No response

Language-specific

EasyList Italy

What Tracking protection options do you have enabled?

Remove tracking parameters, Hide your search queries

Issue Details

Steps to reproduce:

  1. Close and reopen the browser after clearing cookies,history,cache.
  2. Open the website OregonLive.com (I chose a website with many trackers/ads as you can check in WhotrackMe)
  3. It may happen after a series of these operations carried out in steps 1-2 above that what is highlighted in the image occurs:

1

In the image below, on the other hand, the normal condition is visible:

2

Expected Behavior

The counter in a website with many trackers/ads should report a number that is always different from 0

Actual Behavior

The above fact also highlighted in the images I have included does not always happen.

Screenshots

Screenshot 1

Additional Information

No response

neolite commented 3 weeks ago

Extension needs a moment to start after browser launch. That's why you see zero blocked requests at first.

How to check? Try this:

  1. Open browser - counter shows zero
  2. Wait a few seconds
  3. Open console and run: fetch('https://c.amazon-adsystem.com/aax2/apstag.js')
  4. Counter will increase - means extension is working now

That's it. No bug, just normal startup behavior.

SampeiNihira commented 2 weeks ago

Considering that uBlock Origin Lite (MV3) does not have this “problem,” wouldn't it be a good idea to copy a feature of uBlock Origin (MV2) and then suspend network activity until the extension is ready?