AdguardTeam / AdGuardMV3

AdGuard browser extension prototype based on the new Manifest V3
https://adguard.com/
GNU General Public License v3.0
144 stars 14 forks source link

Can't block WebRTC with a custom rule #54

Open SampeiNihira opened 6 months ago

SampeiNihira commented 6 months ago

I can’t block webrtc by entering a custom rule. Inserting this rule in uBlock Origin works:

*##+js(nowebrtc)

Test websites:

https://browserleaks.com/webrtc

https://www.deviceinfo.me/

Maybe in adguard MV3 you have to insert the rule with another syntax?

alexx7311 commented 6 months ago

@SampeiNihira It's probably a bug. The *#%#/scriptlet('nowebrtc') rule should work, but after page refresh it stops working.

SampeiNihira commented 6 months ago

Thank you very much.