Chrome Extension Manifest V3 May Break uBlock Origin Content Blocker
#1
Quote:The Google Chrome development team is working on making some changes to the Chrome Extensions platform that would end the functionality of ad-blockers like uBlock Origin and uMatrix, if implemented as defined in the current draft document.

Extension capabilities are restricted through a mechanism called extension manifest, currently at version 2. In the next revision, Google plans to limit the blocking capabilities of the webRequest API, which these extensions utilize.

Breaking content filtering functionality

"In Manifest V3, we will strive to limit the blocking version of webRequest, potentially removing blocking options from most events (making them observational only).  Content blockers should instead use declarativeNetRequest," reads the provisional document.

This modification would not cover all use cases and the webRequest functionality may end up being preserved in some form, the document states.

Developer Raymond Hill says that phasing out 'webRequest' API in favor of the 'declarativeNetRequest' API would mean the death of uBlock Origin, his highly popular extension for filtering web content, used by over 10 million users.

uMatrix, his other extension that enables the user to define which class of requests made by the web browser should be blocked, would share the same fate.

"If this (quite limited) declarativeNetRequest API ends up being the only way content blockers can accomplish their duty, this essentially means that two content blockers I have maintained for years, uBlock Origin ("uBO") and uMatrix, can no longer exist," he says on the bug tracking page for Manifest v3.

One argument in favor of the declarativeNetRequest as the primary content-blocking API in extensions is that it performs better. Another is that it offers better privacy guarantees because it allows extensions to tell Chrome what to do with a given request rather than have the browser forward the request to the extension; this way, the extension does not have access to the network details.

Filtering limitations

Hill explains that his extensions are incompatible with the proposed declarativeNetRequest API because it allows only one specific filtering engine, whereas uBlock Origin and uMatrix rely on various filtering designs to do their job properly.

The proposed modification would promote static filtering capabilities that are compatible with AdBlock Plus and would limit the number of filters to 30,000.

Hill gives the example of the EasyList filters with rules for removing unwanted web content, which is larger than 30,000 entries and is not sufficient for a modern user's filtering needs.

The rule set is used by AdBlock Plus and uBlock Origin and it is much larger than the limit imposed by the 'declarativeNetRequest'.

Hill's comments remained unaddressed by the developers, but they got the vote of Chrome users chiming in. Some of them say that they would switch to a different browser should the proposal make it as it is into the final version of the manifest.

However, discussions are ongoing and the draft document for manifest version 3 states that declarativeNetRequest would act as the primary content-blocking API in extensions. This suggests that secondary methods may be available.

Source
[-] The following 1 user says Thank You to Raur for this post:
  • harlan4096
Reply
#2
[Image: ublock-chrome.png]
Quote:Google is working on the Chrome extension manifest version 3 at the moment which defines the capabilities of Chrome's extensions platform.

The updated manifest is available as a draft currently that anyone may access. Draft means that it is not set in stone yet and that things may change. Google will release the updated version of the manifest eventually though and make it mandatory after a transitional period.

Interested users and extension developers may follow the tracking bug, issue 896897, on the Chromium Bugs website.

Raymond Hill, known as Gorhill online, the author of the popular content blockers uBlock Origin and uMatrix, voiced his concern over some of the planned changes; these changes, if implemented as proposed currently, remove functionality that the extensions use for content blocking.
Full reading: https://www.ghacks.net/2019/01/22/chrome...or-chrome/
[-] The following 1 user says Thank You to harlan4096 for this post:
  • silversurfer
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
QOwnNotes 19.1.6
24.12.4 The wel...Kool — 12:56
INTEL Arc Graphics 32.0.101.6325/6253 dr...
Highlights Fix...harlan4096 — 11:06
GFYI [Official] Revo Uninstaller Pro v5...
"Share feedback...damien76 — 09:01
GFYI [Official] SpyShelter PRO v15 Chri...
Merry Christmas and ...damien76 — 08:56
GFYI [Official] IObit Christmas 2024 Bl...
Merry Christmas and ...damien76 — 08:54

[-]
Birthdays
Today's Birthdays
No birthdays today.
Upcoming Birthdays
No upcoming birthdays.

[-]
Online Staff
There are no staff members currently online.

>