Меню
UK

Mozilla solves the Manifest V3 puzzle to save ad blockers from Chromapocalypse

Mozilla has made good on its promise to implement Google’s new extension platform, Manifest V3, in a way that does not compromise the functionality of ad blockers. The new version of Firefox, which began rolling out last month, will ensure that users still have access to popular privacy-preserving tools, most notably content-blocking extensions.

On the one hand, by implementing Manifest V3 on its own terms, Mozilla saves developers who are switching to the new platform from having to support two different versions of their extensions (for Google Chrome and Firefox) at the same time. On the other hand, it allows content-blocking extensions that were originally built using the less restrictive Manifest V2 to continue working at full tilt.

Before we go any further, let us remind you what Manifest V3 is, and why it has drawn so much backlash from privacy advocates and content-blocking extension developers including AdGuard.

The troubled Manifest

Manifest V3 is Chrome’s new extension API, first announced in 2018. It is now being implemented across Chromium-based browsers, including, of course, Google Chrome itself.

The API introduces significant changes to the rules that extensions have to follow, such as which browser features an extension has access to and can modify. For example, previously the browser would ask a content-blocking extension what to do with a particular web request, and the extension would respond by either greenlighting, blocking or redirecting it. The new, narrower API gives the right to modify requests to the browser itself, while the extension simply announces or “declares” a set of rules by which the browser should respond. Google notes that this will prevent extensions, including ad blockers, from accessing “potentially sensitive user data,” and will make them “safer to everyone.” The downside is, this change will also cause ad blockers to lose some of their functionality.

You can never have too many rules

The problem with Manifest V3 is that it limits the number of built-in and user-added rules for extensions installed by an individual user. Namely, Chrome has set a guaranteed minimum limit of 30,000 built-in (“static”) rules per extension and a total limit of 330,000 static rules. As for user-added (“dynamic”) rules, they are capped at mere 5,000. Since at the heart of any ad-blocking extension are the filtering rules that ‘teach’ it to detect ads, such restrictions can become a real snag.

The number provided by Google is sufficient if you have only one extension that relies on the declarative NetRequest API in Manifest V3 to block ads. However, if you use more than one extension, this can become an issue: extensions will compete for the remaining rules, and some won’t be able to squeeze into the limit.

Another problem is that Google wants developers to have all the rules already built into the extension at the time of installation. Essentially, developers will have to define what their extension will do with specific requests in advance, and not ad-lib as it used to be before. This means that ad blockers will be slower to respond to changes on the site, as developers will have to upload a new version of the extension each time something changes — and wait till it passes a review, which is not a quick process in itself.

However, there’s still a glimmer of hope that the situation will improve. We have proposed an increase in the number of dynamic rules and rule sets and are championing these changes to Manifest V3 in ongoing discussions between browser vendors and the content blocking community. Hopefully the former will take our arguments into account.

Ultimately, with Chrome being a dominant force in the browser market, once Google deprecates Manifest V2, extension developers will either have to adapt to Manifest V3 or lose users. And we would like to see that transition go as smoothly as possible.

Google Chrome is a dominant force among desktop browsers

The ball in Chrome’s court

Google claims that the changes to the API will make extensions more secure, performant, and private-respecting by default. However, lingering concerns over their impact on ad-blocking prevent some experts from embracing the new platform. We too have repeatedly sounded the alarm about the negative impact Manifest V3 may have on Chrome developers and users.

To its credit, though, Google has sought to address these concerns. Being one of the founders of The World Wide Web Consortium’s (W3C) WebExtensions Community Group (on par with Apple, Mozilla, and Microsoft), Chrome solicited feedback on Manifest V3 from extension developers and welcomed criticism.

Still, Google’s response has been too slow and so far has failed to assuage developers’ concerns. Acknowledging these apprehensions, Mozilla announced last year that Firefox would continue to support the webRequest API to block entire categories of HTTP requests in its implementation of Manifest V3, but would also support a compatible version of declarativeNetRequest API, proposed by Google as a replacement for webRequest.

Compared to Firefox users, who will continue to benefit from the full functionality of ad blocking extensions, Chrome's 3 billion users may soon find themselves at a disadvantage when it comes to ad blocking. In the long run, this could become a catalyst for some Chrome users to switch to Firefox.

The sunset that never comes

In November, Mozilla announced that it would continue to support Manifest V2 extensions “for the foreseeable future” and promised to set a timeframe for disabling the old manifest “towards the end of 2023.”

As for Google Chrome, its timeline for pulling the plug on Manifest V2 has been pushed back so many times that it's hard to keep track. In January 2022, Google stopped accepting new extensions based on Manifest V2 to the Chrome Web Store. By June 2023 the tech giant was supposed to be experimenting with turning off support for Manifest V2 extensions in Chrome. However, in December all the remaining deadlines were put under review and all the experiments were postponed indefinitely.

Google has pushed the deadline for sunsetting Manifest V2 a lot of times

That said, the threat of Manifest V2’s eventual demise is real. The doomsday clock for Manifest V2 may have stopped ticking, but Google could resume it at any time, so we thought it was important to have a solution ready if and when that happens.

Ad blocking in the era of Manifest V3

Believing that the chances of a sudden Google U-turn were slim, AdGuard started working on a prototype of a new Manifest V3-compliant extension as early as mid-2021. In August last year, we released an experimental ad blocking extension that met all the requirements of Manifest V3, becoming the first ad blocker to do so. Because it’s based on Manifest V3, with all its unfortunate limitations, this new extension may not be as effective as the old, tried and tested one. The extension will, however, still proactively block requests to trackers, hide social widgets, banners and video ads — in other words, it will do everything you’d expect an ad blocking extension to do.

We may have been the first, but other ad blockers soon followed suit, proving that ad blocking and Manifest V3 may not be a perfect match, but neither its arrival is a death sentence.

A month later, the author of popular ad blocker, uBlock Origin, published an experimental extension uBO Minus, compatible with Manifest V3. AdBlock Plus has also been working on a version of the extension that works on Manifest V3.

Google disappoints, Mozilla saves the day

Google claims that the sole purpose of replacing the old Manifest with a new extension platform that limits ad blocking is to provide greater security and privacy for users. Maybe that’s true, and Google does want to improve the extension platform to make it more secure and private.

Unfortunately, Google has made many decisions about the design of its new platform without taking into account the wishes and concerns of extension developers and, in the end, their own users. As a result, ad blocking extensions will lose some of their functionality. However, we don’t think the company will be too upset about this.

For its part, Mozilla has taken a more measured and less confrontational approach to ad blocking. The Firefox owner has shown that it is not impossible to implement Manifest V3 in a way that does not limit the functionality of ad blockers and at the same time increases security.

Liked this post?
18 379 18379 відгуків
Чудово!

AdGuard для Windows

AdGuard для Windows — це не просто «ще один блокувальник», а багатоцільовий інструмент, який поєднує всі необхідні функції для найкращої роботи в інтернеті. Він блокує рекламу й небезпечні вебсайти, підвищує швидкість завантаження сторінок, а також захищає ваших дітей під час їхнього перебування в інтернеті.
Завантажуючи програму, ви приймаєте умови Ліцензійної угоди
Докладніше
18 379 18379 відгуків
Чудово!

AdGuard для Mac

На відміну від інших блокувальників, AdGuard розроблений з урахуванням специфіки операційної системи macOS. Він не лише забезпечує захист від настирної реклами в усіх браузерах, але і захищає вас від стеження, фішингу і шахрайства в Мережі.
Завантажуючи програму, ви приймаєте умови Ліцензійної угоди
Докладніше
18 379 18379 відгуків
Чудово!

AdGuard для Android

AdGuard for Android — це ідеальне рішення для Android-пристроїв. На відміну від інших блокувальників, AdGuard не вимагає повного доступу і надає широкий спектр можливостей: фільтрування у додатках, керування додатками тощо.
Завантажуючи програму, ви приймаєте умови Ліцензійної угоди
Докладніше
18 379 18379 відгуків
Чудово!

AdGuard для iOS

Найкращий блокувальник реклами для iPhone та iPad. AdGuard усуває всі види реклами в Safari, захищає вашу конфіденційність та прискорює завантаження сторінок. AdGuard для iOS забезпечує найвищу якість фільтрування та дозволяє використовувати декілька фільтрів одночасно
Завантажуючи програму, ви приймаєте умови Ліцензійної угоди
Докладніше
18 379 18379 відгуків
Чудово!

AdGuard VPN

74 місцезнаходження у світі

Безпечний стрімінг

Надійне шифрування

Без журналювання

Найшвидше з'єднання

Цілодобова підтримка

Спробувати безплатно
Завантажуючи програму, ви приймаєте умови Ліцензійної угоди
Докладніше
18 379 18379 відгуків
Чудово!

AdGuard Content Blocker

AdGuard Content Blocker усуває всі оголошення в мобільних браузерах, які підтримують технологію блокування контенту, наприклад, Samsung Internet і Яндекс.Браузер. Він володіє меншою кількістю функцій, ніж AdGuard для Android, але при цьому безплатний, просто встановлюється та як і раніше забезпечує високу якість блокування реклами.
Завантажуючи програму, ви приймаєте умови Ліцензійної угоди
Докладніше
18 379 18379 відгуків
Чудово!

Браузерне розширення AdGuard

AdGuard - найшвидше і легше браузерне розширення для блокування усіх типів реклами! Вибирайте AdGuard для швидкого і безпечного серфінгу без реклами.
18 379 18379 відгуків
Чудово!

Помічник AdGuard

Супутнє браузерне розширення для програм AdGuard. Надає доступ до таких функцій у браузері, як блокування окремих елементів, створення білого списку вебсайтів чи надсилання звіту про проблему.
18 379 18379 відгуків
Чудово!

AdGuard DNS

AdGuard DNS — це альтернативний спосіб заблокувати рекламу, захистити особисті дані і захистити дітей від дорослих матеріалів. Він простий в налаштуванні і використанні і забезпечує необхідний мінімум захисту від реклами, трекінгу і фішингу, незалежно від платформи.
18 379 18379 відгуків
Чудово!

AdGuard Home

AdGuard Home — потужний мережевий інструмент проти реклами і трекінгу. З посиленням ролі інтернету речей стає все більш і більш важливим управляти всією вашою мережею. Після настройки AdGuard Home буде охоплювати ВСІ ваші домашні пристрої і для цього вам не знадобиться програмне забезпечення на стороні клієнта.
18 379 18379 відгуків
Чудово!

AdGuard Pro для iOS

AdGuard Pro пропонує набагато більше, ніж просто блокування реклами в Safari, яка є у звичайній версії. За допомогою спеціальних налаштувань DNS ви зможете блокувати більше реклами, захистити ваші особисті дані і захистити дітей від дорослого контенту.
Завантажуючи програму, ви приймаєте умови Ліцензійної угоди
Докладніше
18 379 18379 відгуків
Чудово!

AdGuard для Safari

Розширення рекламного блокування для Safari не мають труднощів, оскільки Apple почала змушувати всіх використовувати новий SDK. Розширення AdGuard повинно повернути високоякісне блокування оголошень до Safari.
18 379 18379 відгуків
Чудово!

AdGuard Temp Mail

Безкоштовний генератор тимчасових адрес електронної пошти, який зберігає вашу анонімність і захищає вашу конфіденційність. Ніякого спаму у вашій основній поштовій скриньці!
18 379 18379 відгуків
Чудово!

AdGuard для Android TV

AdGuard for Android TV is the only app that blocks ads, guards your privacy, and acts as a firewall for your Smart TV. Get warnings about web threats, use secure DNS, and benefit from encrypted traffic. Relax and dive into your favorite shows with top-notch security and zero ads!
Завантаження AdGuard Натисніть на кнопку, на яку вказує стрілка, щоб почати встановлювати програму. Виберіть «Відкрити», натисніть «OK» та дочекайтеся завантаження файлу. У вікні, що відкриєтьсяся, перетягніть значок AdGuard в папку «Додатка». Дякуємо, що обрали AdGuard! Виберіть «Відкрити», натисніть «OK» та дочекайтеся завантаження файлу. У вікні, що відкрилося, натисніть «Встановити». Дякуємо, що обрали AdGuard!
Встановіть AdGuard на мобільному