Menu
ID

Browser Extension MV3 v0.4.0: time to update

It’s been almost a year and a half since we released the MV3-based extension, and it’s time for a major update. After all, we are living in the MV3 reality. The extension now relies on our updated filter engines, TSWebExtension and TSUrlFilter. For a look back at how we managed to create the first extension that works with Manifest V3, see our blog.

5 reasons why the extension is better now

Reason #1: the new rule priority scheme

In the past, we had 4 different priorities for rules, but the selection and prioritization of rules within a group was not clear. With our new scheme, we calculate the weight of a rule based on the modifiers it contains. These modifiers are ranked by priority, from lowest to highest, and their impact on a rule’s scope determines its overall priority weight. This new approach allows you to set a declarative priority for a rule at the conversion stage, which is particularly useful for the new MV3. More details about the new priority scheme can be found in our Knowledge Base.

Reason #2: $badfilter support

The $badfilter modifier has the power to disable any other rule. Here’s how it works: filter developers add a rule with this modifier, and when the extension receives a dynamic update, the rule with the $badfilter modifier overrides the rule it was applied to.

In the past, it wasn’t possible to disable a previously added rule in MV3. As a result, we initially added $badfilter support only for rules that were already in the same file. If you had a rule in one file and added $badfilter to it in another file, it simply wouldn’t work.

However, thanks to feedback from extension developers, the W3C Working Group has listened and introduced a new API that allows you to disable other declarative rules. This opened the door for us to add $badfilter support for all rules in all files. To achieve this, we revamped the rule conversion scheme to generate additional metadata for filters and dynamically find the rules that need to be disabled.

Reason #3: support for the $cookie modifier

The $cookie modifier allows you to specify the time to live (TTL) of cookies. The current MV3 functionality is not sufficient for this modifier to work properly, so we’ve made some improvements:

  • If the MV3 API is sufficient for the filtering rule to work, we convert the rule to a declarative one and add it to the static ruleset
  • Otherwise, we additionally process cookies in our TSUrlFilter engine and use the browser.cookies API to remove cookies that should not be set or to reduce the lifetime of the cookies

Reason #4: support for the $elemhide, $generichide, $specifichide modifiers

These modifiers help us to turn off cosmetic filtering for certain websites. MV3 doesn’t have such tools yet, so we added support for the modifiers through our TSUrlFilter filtering engine. This engine matches blocking rules to exception rules and only sends rules that are not excluded to the content script.

Reason #5: everything else

We’ve added support for the following modifiers:

  • $method limits the rule scope to requests that use the specified set of HTTP methods
  • $to limits the rule scope to requests made to the specified domains and their subdomains
  • $removeheader: rules with this modifier are intended to remove headers from HTTP requests and responses
  • The $all modifier is made of all content-types modifiers and $popup
  • The $csp modifier completely changes the rule behavior. When applied to a rule, the rule won’t block the matching request. Instead, response headers will be modified

This is the first ad blocker to run under the harsh conditions of Manifest V3, and you’ll help us a lot by reporting problems with the extension on GitHub.

Liked this post?
18.485 18485 ulasan pengguna
Sempurna!

AdGuard untuk Windows

AdGuard untuk Windows lebih dari sekadar pemblokir iklan. Ini adalah alat serbaguna yang memblokir iklan, mengontrol akses ke situs berbahaya, mempercepat pemuatan halaman, dan melindungi anak-anak dari konten yang tidak pantas.
Dengan mengunduhnya Anda menerima ketentuan Perjanjian lisensi
Pelajari lainnya
18.485 18485 ulasan pengguna
Sempurna!

AdGuard untuk Mac

AdGuard untuk Mac adalah pemblokir iklan unik yang dirancang dengan mempertimbangkan macOS. Selain melindungi Anda dari iklan yang mengganggu di browser dan aplikasi, ini melindungi Anda dari pelacakan, phishing, dan penipuan.
Dengan mengunduhnya Anda menerima ketentuan Perjanjian lisensi
Pelajari lainnya
18.485 18485 ulasan pengguna
Sempurna!

AdGuard untuk Android

AdGuard untuk Android adalah solusi sempurna untuk perangkat Android. Tidak seperti kebanyakan pemblokir iklan lainnya, AdGuard tidak memerlukan akses root dan menyediakan berbagai opsi manajemen aplikasi.
Dengan mengunduhnya Anda menerima ketentuan Perjanjian lisensi
Pelajari lainnya
18.485 18485 ulasan pengguna
Sempurna!

AdGuard untuk iOS

Pemblokir iklan iOS terbaik untuk iPhone dan iPad. AdGuard menghilangkan semua jenis iklan di Safari, melindungi privasi Anda, dan mempercepat pemuatan halaman. Teknologi pemblokiran iklan AdGuard untuk iOS memastikan pemfilteran dengan kualitas terbaik dan memungkinkan Anda untuk menggunakan beberapa filter secara bersamaan
Dengan mengunduhnya Anda menerima ketentuan Perjanjian lisensi
Pelajari lainnya
18.485 18485 ulasan pengguna
Sempurna!

AdGuard VPN

74 locations worldwide

Access to any content

Strong encryption

Tanpa kebijakan log

Fastest connection

dukungan 24/7

Coba gratis
Dengan mengunduhnya Anda menerima ketentuan Perjanjian lisensi
Pelajari lainnya
18.485 18485 ulasan pengguna
Sempurna!

Pemblokir Konten AdGuard

AdGuard Content Blocker akan menghilangkan semua jenis iklan di browser seluler yang mendukung teknologi pemblokir konten — seperti, Samsung Internet dan Yandex.Browser. Meskipun lebih terbatas daripada AdGuard untuk Android, ini gratis, mudah dipasang dan tetap memberikan kualitas pemblokiran iklan yang tinggi.
Dengan mengunduhnya Anda menerima ketentuan Perjanjian lisensi
Pelajari lainnya
18.485 18485 ulasan pengguna
Sempurna!

Ekstensi peramban AdGuard

AdGuard adalah ekstensi pemblokiran iklan tercepat dan paling ringan yang secara efektif memblokir semua jenis iklan di semua halaman web! Pilih AdGuard untuk browser yang Anda gunakan dan dapatkan penjelajahan bebas iklan, cepat, dan aman.
18.485 18485 ulasan pengguna
Sempurna!

Asisten AdGuard

Ekstensi peramban pengiring untuk aplikasi desktop AdGuard. Menawarkan akses dalam peramban untuk fitur tersebut sebagai pemblokiran elemen kustom, mendaftarkan situs web yang diizinkan atau mengirimkan laporan.
18.485 18485 ulasan pengguna
Sempurna!

DNS AdGuard

AdGuard DNS is a foolproof way to block Internet ads that does not require installing any applications. It is easy to use, absolutely free, easily set up on any device, and provides you with minimal necessary functions to block ads, counters, malicious websites, and adult content.
18.485 18485 ulasan pengguna
Sempurna!

AdGuard Home

AdGuard Home adalah sebuah aplikasi tingkat jaringan untuk memblokir iklan & pelacakan. Setelah Anda menyetelnya, aplikasi ini akan melindungi seluruh perangkat rumah Anda, dan Anda tidak perlu aplikasi apa pun di sisi klien untuk itu. Dengan berkembangnya Internet-Of-Things dan perangkat terkoneksi, menjadi semakin penting untuk dapat mengendalikan seluruh jaringan Anda.
18.485 18485 ulasan pengguna
Sempurna!

AdGuard Pro untuk iOS

AdGuard Pro has much to offer on top of the excellent iOS ad blocking in Safari already known to the users of the regular version. By providing access to custom DNS settings, the app allows you to block ads, protect your kids from adult content online, and safeguard your personal data from theft.
Dengan mengunduhnya Anda menerima ketentuan Perjanjian lisensi
Pelajari lainnya
18.485 18485 ulasan pengguna
Sempurna!

AdGuard untuk Safari

Ekstensi pemblokiran iklan untuk Safari mengalami kesulitan sejak Apple mulai memaksa semua orang untuk menggunakan SDK baru. Ekstensi AdGuard seharusnya mengembalikan pemblokiran iklan berkualitas tinggi ke Safari.
18.485 18485 ulasan pengguna
Sempurna!

AdGuard Temp Mail

Generator alamat e-mail sementara gratis yang membuat Anda tetap anonim dan melindungi privasi Anda. Tidak ada spam di kotak masuk utama Anda!
18.485 18485 ulasan pengguna
Sempurna!

AdGuard untuk Android TV

AdGuard untuk Android TV adalah satu-satunya aplikasi yang memblokir iklan, menjaga privasi Anda, dan bertindak sebagai firewall untuk Smart TV Anda. Dapatkan peringatan tentang ancaman web, gunakan DNS yang aman, dan dapatkan manfaatkan lalu lintas yang terenkripsi. Bersantailah dan selami acara favorit Anda dengan keamanan terbaik dan tanpa iklan!
Mengunduh AdGuard Klik tombol yang ditujukkan oleh panah untuk memulai instalasi. Pilih "Buka" dan klik "OK", lalu tunggu file diunduh. Di jendela yang terbuka, seret ikon AdGuard ke folder "Aplikasi". Terima kasih telah memilih AdGuard! Pilih "Buka" dan klik "OK", lalu tunggu file diunduh. Di jendela yang terbuka, klik "Install". Terima kasih telah memilih AdGuard!
Instal AdGuard untuk perangkat ponsel juga