AdguardTeam / AdguardBrowserExtension

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

Page refreshes slowly when turning protection button off and on #2344

Open gork7777 opened 1 year ago

gork7777 commented 1 year ago

AdGuard Extension version

4.2.110 beta

Browser version

Chrome v113.0.5672.64

OS version

Windows 10

What filters do you have enabled?

AdGuard Base filter, AdGuard Turkish filter, AdGuard Tracking Protection filter, AdGuard URL Tracking filter, AdGuard Social Media filter, AdGuard Annoyances filter

What Stealth Mode options do you have enabled?

No response

Issue Details

After the 4.2.110 update, when turning the protection button off and on, the web page refreshes (about 4-5 sec) slowly, it was refreshed much faster before.

Expected Behavior

When turning the protection button off and on, the web page should be refresh more faster.

Screenshots

Screenshot 1: https://user-images.githubusercontent.com/35523759/236460888-ebab8385-f750-466e-87dd-535ceace027d.mp4

Additional Information

No response

dftf-stu commented 12 months ago

I'm using v4.2.168 of the AdGuard Browser Extension and can confirm it is slower to refresh a page after clicking the "protection switch" to enable or disable filtering, yes -- at-least 3-4 seconds before it reloads the page, whereas it used to be near-instant.

This occurs in both Microsoft Edge 117.0.2045.55 and Firefox 118.0.1

NikitaBeloglazov commented 3 months ago

Yes, that issue still here Adguard 4.3.53 (Fresh install from Chrome Store) (Beta also affected) OS: Linux 6.6, OpenSUSE

It seems the button wait time depends on the number of filters. 3 to 7 seconds at default settings.

But i have many filters enabled, and the waiting time sometimes reaches 30+ SECONDS. It is unbearable

If you disable filtering by button Right button click > Adguard > Pause Adguard protection, it will reload page now, without waiting, but this button disables Adguard globally

Reproducible on: Vivaldi - Version 6.8.3381.44 (Official Build) stable (64-bit) (Chromuim 126.0.6478.119) (Fresh) Brave - Version 1.57.47 Chromium: 116.0.5845.96 (Official Build) (64-bit) Chromium - Version 111.0.5563.147

UPD: Looks like AdGuard Browser extension MV3 does not affected