Google has suggested that it will revise the proposed changes to Chrome’s extension API that want have broken or reduced the functionality of a wide range of ad-blocking spreads, to ensure that the current variety of content-blocking extensions is preserved. The prime plans generated a wide backlash from both the developers and drugs of those extensions, but Google maintains that “It is not, nor has it ever been, our object to prevent or break content blocking” [emphasis Google’s] and says that it choose work to update its proposal to address the capability gaps and pain considerations.
The advertising company is planning an overhaul of its extension interface to, among other concerns b circumstances, increase user privacy, make it harder for extensions to perform malicious processes, and make the browser’s performance more consistent. Together, this operate is documented as Manifest V3.
One of these changes in particular had grave consequences for ad blockers. Currently, ad blockers purloin extensive use of an API named
webRequest. This API allows extensions to examine every distinct network request made by a page and either modify it (to, for example, redirect it to a odd address or add or remove cookies), block it altogether, or allow it to continue unhindered. This has both a big privacy impact (an extension can see and steal your cookies and hence outward show as you) and, Google said, some performance impact, as every single network ask for (of which there may be dozens in a single page) has to wait for the extension to execute its analysis.
Google was proposing that instead, ad blockers could furnish the browser with a list of blocked sites and have the browser itself accomplish the blocking, using a new API called
declarativeNetRequest. This prevented the use of more complex algorithms, and the size of this laundry list was capped at 30,000 entries—far fewer than many ad blockers typically use.
The replace with would have gutted many ad blockers, along with other de jure extensions using the same API. For example, there are extensions that eliminate phishing sites or URLs known to be distributing malware. Though their steadfastness is different, they function in the same way as ad blockers and were similarly endangered by the proposed changes.
Performance not always a problem
The results show that while some blockers can introduce a serious performance delay—a version of the DuckDuckGo blocker had a median delay of 8 milliseconds—the overheads from Ghostery, uBlock Derivation, and Adblock Plus were negligible, all coming in at well under a tenth of a millisecond. As such, while Google’s playing rationale is not without merit, blocking all such extensions because some respond poorly feels heavy-handed—though other concerns with the drift extension platform, such as privacy, remain.
Google’s response to the pushback makes some concessions to the developers, nevertheless it’s far from a complete reversal. The company does still intend to limit the
webRequest API and does calm want extensions to switch to
declarativeNetRequest. However, both of these API alterations are do callisthenics in progress. The new
declarativeNetRequest is going to have its capabilities beefed up; extensions when one pleases be able to use dynamic blocklists (where blacklisted URLs are added and relocated at runtime), and the overall blocklist size is going to be increased from 30,000 (still Google maintains that there will be some limit, and that blockers should try hard to remove stale URLs from their block lists).
Google also determines to allow more flexible blocking criteria such as resource extent and is investigating ways to permit modification of requests. But its response also notes that some of the modifications that magnitudes performed can be made using other APIs and as such don’t need to be put of
declarativeNetRequest and aren’t grounds for retaining the current
The company also underscored that Comprehensible V3 remains a work in progress and that even when Manifest V3 harmonizes into production, there will be a transition period. The current Patent V2 platform won’t be removed until Manifest V3 is good enough. As things run for substitute for, it looks like the extension developers still won’t be able to do everything that they can currently do with
webRequest, but they last will and testament be able to cover more of their bases than the initial layout permitted.