選單
中文 (繁體)

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.

喜歡這篇文章嗎?
19,180 19180 使用者評論
極好的!

AdGuard for Windows

Windows 版 AdGuard 不只是廣告封鎖程式,它是集成所有讓您享受最佳網路體驗的主要功能的多用途工具。其可封鎖廣告和危險網站,加速網頁載入速度,並且保護兒童的線上安全。
透過下載該程式,您接受授權協定的條款
閱讀更多
19,180 19180 使用者評論
極好的!

AdGuard for Mac

Mac 版 AdGuard 是一款獨一無二的專為 MacOS 設計的廣告封鎖程式。除了保護使用者免受瀏覽器和應用程式裡惱人廣告的侵擾外,應用程式還能保護使用者免受追蹤、網路釣魚和詐騙。
透過下載該程式,您接受授權協定的條款
閱讀更多
19,180 19180 使用者評論
極好的!

AdGuard for Android

Android 版的 AdGuard 是一個用於安卓裝置的完美解決方案。與其他大多數廣告封鎖器不同,AdGuard 不需要 Root 權限,提供廣泛的應用程式管理選項。
透過下載該程式,您接受授權協定的條款
閱讀更多
19,180 19180 使用者評論
極好的!

AdGuard for iOS

用於 iPhone 和 iPad 的最佳 iOS 廣告封鎖程式。AdGuard 可以清除 Safari 中的各種廣告,保護個人隱私,並加快頁面載入速度。iOS 版 AdGuard 廣告封鎖技術確保最高質量的過濾,並讓使用者同時使用多個過濾器。
透過下載該程式,您接受授權協定的條款
閱讀更多
19,180 19180 使用者評論
極好的!

AdGuard 內容阻擋器

AdGuard 內容阻擋器將消除在支援內容阻擋器技術之行動瀏覽器中的各種各類廣告 — 即 Samsung 網際網路和 Yandex.Browser。雖然比 AdGuard for Android 更受限制,但它是免費的,易於安裝並仍提供高廣告封鎖品質。
透過下載該程式,您接受授權協定的條款
閱讀更多
19,180 19180 使用者評論
極好的!

AdGuard 瀏覽器擴充功能

AdGuard 是有效地封鎖於全部網頁上的所有類型廣告之最快的和最輕量的廣告封鎖擴充功能!為您使用的瀏覽器選擇 AdGuard,然後取得無廣告的、快速的和安全的瀏覽。
19,180 19180 使用者評論
極好的!

AdGuard 助理

AdGuard 桌面應用程式的配套瀏覽器擴充功能。它為瀏覽器提供了自訂的元件阻止的功能,將網站列入允許清單或傳送報告等功能。
19,180 19180 使用者評論
極好的!

AdGuard DNS

AdGuard DNS 是一種不需要安裝任何的應用程式而封鎖網際網路廣告之極簡單的方式。它易於使用,完全地免費,被輕易地於任何的裝置上設置,並向您提供封鎖廣告、計數器、惡意網站和成人內容之最少必要的功能。
19,180 19180 使用者評論
極好的!

AdGuard Home

AdGuard Home 是一款用於封鎖廣告 & 追蹤之全網路範圍的軟體。在您設置它之後,它將涵蓋所有您的家用裝置,且為那您不需要任何的用戶端軟體。由於物聯網和連網裝置的興起,能夠控制您的整個網路變得越來越重要。
19,180 19180 使用者評論
極好的!

AdGuard Pro iOS 版

除了在 Safari 中之優秀的 iOS 廣告封鎖對普通版的用戶為已知的外,AdGuard Pro 提供很多功能。透過提供對自訂的 DNS 設定之存取,該應用程式允許您封鎖廣告、保護您的孩子免於線上成人內容並保護您個人的資料免於盜竊。
透過下載該程式,您接受授權協定的條款
閱讀更多
19,180 19180 使用者評論
極好的!

AdGuard for Safari

自 Apple 開始強迫每位人使用該新的軟體開發套件(SDK)以來,用於 Safari 的廣告封鎖延伸功能處境艱難。AdGuard 延伸功能可以將高優質的廣告封鎖帶回 Safari。
19,180 19180 使用者評論
極好的!

AdGuard Temp Mail

免費的臨時電子郵件地址產生器,保持匿名性並保護個人隱私。您的主收件匣中沒有垃圾郵件!
19,180 19180 使用者評論
極好的!

AdGuard Android TV 版

Android TV 版 AdGuard 是唯一一款能封鎖廣告、保護隱私並充當智慧電視防火墻的應用程式。取得網路威脅警告,使用安全 DNS,並受益於加密流量。有了安全性和零廣告的使用體驗,使用者就可以盡情享受最喜愛的節目了!
已開始下載 AdGuard 點擊箭頭所指示的檔案開始安裝 AdGuard。 選擇"開啟"並點擊"確定",然後等待該檔案被下載。在被打開的視窗中,拖曳 AdGuard 圖像到"應用程式"檔案夾中。感謝您選擇 AdGuard! 選擇"開啟"並點擊"確定",然後等待該檔案被下載。在被打開的視窗中,點擊"安裝"。感謝您選擇 AdGuard!
在行動裝置上安裝 AdGuard