Skip to content

Merge1.72.0 - #2819

Merged
mneunomne merged 140 commits into
masterfrom
merge1.72.0
Jun 30, 2026
Merged

mneunomne merged 140 commits into
masterfrom
merge1.72.0

Conversation

@mneunomne

Copy link
Copy Markdown
Collaborator

No description provided.

gorhill added 30 commits May 11, 2026 13:59
Related issue:
uBlockOrigin/uBOL-home#632

Popup blocking will be enabled by default, and is active when default
filtering mode is optimal or complete.

Users can wholly disable popup blocking in the dashboard.
…ic filters

There is now no benefit splitting them in two sets of content scripts.
The filter editor is in the "Custom filters" pane in the dashboard,
and is available only when "Developer mode" is enabled.

The filter editor is also only available in browsers which
WebExtensions framework supports the `userScripts` and `offscreen`
APIs (so only Chromium-based browsers currently).

The filter editor's main purpose is as a tool for filter list
authors, it's not meant to be a replacement for importing filter
lists due to the maxium number of dynamic DNR rules allowed.

This is a first version with a list of TODOs, and some filter
syntaxes are currently not supported:

- not possible to `badfilter` a filter
- cosmetic exception filters do not apply to stock lists
- generic cosmetic filters are currently discarded
- `popup` filters are discarded
- `doc` filters can't trigger the strict-block page
The editor is read-only, thus no need to filter out user rules or
rules meant for no-filtering sites.
Under certain conditions, binary search could fail finding a match when
following conditions were fulfilled:
- There was only one item in the haystack
- Multiple needles with first one not being a match

This would cause subsequent needles from being correctly identified
as a match.
Add support for xpath expressions: if a selector starts with `xpath:`,
the selector will instead be used as an xpath expression to find the
matching elements.

Related discussion:
uBlockOrigin/uAssets#33142
If a selector is prefixed with `when-visible:`, the scriptlet will
click the matching element only when it becomes visible to the user.

Related case:
uBlockOrigin/uAssets#33161
gorhill and others added 28 commits June 23, 2026 07:57
Cosmetic- and scriptlet-based filters from filter-creation sandbox are
allowed to be explicitly generic, for example: `*##[filter]`.
Related issue:
uBlockOrigin/uBOL-home#708

Unfortunately click-to-load feature is not compatible with DNR
syntax. There are no workaround at the moment.
Related issue:
uBlockOrigin/uBOL-home#709

Lists build from trusted and non-trusted sources would have their
legitimately trusted filters unconditionally discarded.
@mneunomne
mneunomne merged commit d3a4587 into master Jun 30, 2026
1 check passed
@mneunomne
mneunomne deleted the merge1.72.0 branch July 3, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants