9 ms·
I was under the impression MV3 is stricly less capable in terms of blocking ability than MV2?
by _flux 3mo ago
I was under the impression MV3 is stricly less capable in terms of blocking ability than MV2?
- maxloh 3mo agoYeah. MV3 is a faster but less capable version. With MV2, every request must be filtered with slow, JIT, garbage-collected JavaScript code. In MV3, filtering is handled by native browser code using the list provided by extensions. UserScripts could be used to modify the DOM, but that requires power users to manually enable it. There is a limit on how large the list can be, depending on the browser.
- GrinningFool 3mo agoI also thought under MV3 you could block ads, but not the tracking that they do.
- SadErn 3mo ago[dead]
- jdiff 3mo agoJavaScript really isn't that slow. JIT compilation can wind up faster than AOT compilation. And much of the APIs called by JavaScript is natively-implemented browser code. JavaScript is faster than C# yet people implement games in C# (not the engine cores, but that's a very similar situation to JS) and don't bat an eye.
- bcjdjsndon 3mo ago> JavaScript is faster than C# Apples to oranges, scripts need an entire browser/Interpeter framework underneath it to even function
- jdiff 3mo agoSee the mentioned game engine reference which closely parallels this.
- mrsmrtss 3mo ago> JavaScript is faster than C# Are you joking? C# is in another leage, when we talk about performance.
- londons_explore 3mo agoBut a list of like 100 domains will get rid of most major ad services.
- notatoad 3mo agothat is theoretically true. but i switched to the v3-compatible ublock origin lite a year ago and i've noticed essentially no difference in the performance. all the ads are blocked, just like they were with the v2-compatible adblocker.