Commit graph

13709 commits

Author SHA1 Message Date
Raymond Hill
dba33dd71d
New revision for dev build 2025-12-18 09:08:14 -05:00
Raymond Hill
375a6c2166
Update changelog 2025-12-18 09:07:15 -05:00
Raymond Hill
1977196abe
Improve prevent-addEventListener scriptlet 2025-12-18 09:03:36 -05:00
Raymond Hill
af7b975840
New revision for dev build 2025-12-17 14:33:16 -05:00
Raymond Hill
cbf24a40b6
Fix soft regression in scriptlets proxying fetch()
Related commit:
https://github.com/gorhill/uBlock/commit/13612d1d29

Related issue:
https://github.com/uBlockOrigin/uAssets/issues/30158
2025-12-17 12:49:27 -05:00
Raymond Hill
abe9cdbef7
Fix typo in console output
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3901
2025-12-17 11:35:46 -05:00
Raymond Hill
daccdf5026
Make Firefox dev build auto-update 2025-12-16 08:32:14 -05:00
Raymond Hill
a23561d79e
[mv3] Bypass cosmetic filtering when top context is set to no-filtering
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/20

Specific cosmetic filtering will be bypassed when hostname of top context
matches an entry in the no-filtering set.

This doesn't completely solve the issue:
- The browser platform must support `document.location.ancestorOrigins`
- This solution can't be applied to scriptlets
2025-12-15 16:15:13 -05:00
Raymond Hill
92737bfdfe
New revision for dev build 2025-12-15 14:27:44 -05:00
Raymond Hill
2234d8aad2
Fix regression in prevent-fetch scriptlet
Related issue:
https://github.com/uBlockOrigin/uAssets/issues/31169
2025-12-15 09:51:21 -05:00
Raymond Hill
baee6dcaca
Import translation work from https://crowdin.com/project/ublock 2025-12-14 16:05:26 -05:00
Raymond Hill
3855c5a648
[mv3] Fix garbage collection-related code 2025-12-14 10:26:50 -05:00
Raymond Hill
621ad89c64
[mv3] Better validate hostnames in "Filtering mode details" editor
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/564
2025-12-12 09:48:40 -05:00
Raymond Hill
cdfa514c2a
New revision for dev build 2025-12-10 20:23:30 -05:00
Raymond Hill
570a30c5e8
Update changelog 2025-12-10 20:23:06 -05:00
Raymond Hill
6af8a457ed
Add nitropay_ads.js shim
Related issue:
https://github.com/uBlockOrigin/uAssets/issues/30991
2025-12-10 20:21:08 -05:00
Raymond Hill
0fb845d1ac
[mv3] Load specific cosmetic filtering data on-demand only
The cosmetic filtering data embedded in the content scripts has been
extracted in corresponding JSON files. When a list is enabled, the
corresponding cosmetic filtering data from the JSON files, if any, is
persisted into the extension's local storage.

The cosmetic filtering-related content scripts will load the data
from these JSON files on-demand only and matching cosmetic filters
will be extracted, then the result is cached in the session storage,
ensuring there is no longer a need to perform lookup for the rest
of the browser session.

As a result this further reduces the time to First Contentful Paint.

Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/557
2025-12-09 15:32:02 -05:00
Raymond Hill
e036156f3a
[mv3] Sort scriptlet functions
To minimize diff between releases.
2025-12-09 12:58:10 -05:00
Raymond Hill
e7c67d533b
New revision for dev build 2025-12-09 10:54:26 -05:00
Raymond Hill
d864ace50b
Update changelog 2025-12-09 10:53:35 -05:00
Raymond Hill
13612d1d29
Improve scriptlets proxying fetch
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3892
2025-12-09 10:33:20 -05:00
Raymond Hill
d2b680f6bc
Make Firefox dev build auto-update 2025-12-09 09:45:09 -05:00
Raymond Hill
73149e01ff
Make Firefox dev build auto-update 2025-12-09 09:43:47 -05:00
Raymond Hill
74474ebb8d
New revision for dev build 2025-12-08 10:32:54 -05:00
Raymond Hill
1d22781623
Update changelog 2025-12-08 10:32:32 -05:00
Raymond Hill
3fc281adf1
Improve google-ima shim
Related issue:
https://github.com/uBlockOrigin/uAssets/issues/31018
2025-12-08 10:30:41 -05:00
Raymond Hill
5b95c37a46
New revision for dev build 2025-12-07 14:12:29 -05:00
Raymond Hill
d9a6aa53da
Update changelog 2025-12-07 14:11:59 -05:00
Raymond Hill
9584f7797a
Set Firefox minimum version to 115 2025-12-07 14:10:57 -05:00
Raymond Hill
87cb6eb602
Make Firefox dev build auto-update 2025-12-05 09:45:09 -05:00
Raymond Hill
1f8900ec8d
Update submodules 2025-12-05 09:09:22 -05:00
Raymond Hill
0aa0d81caf
[mv3] Re-work specific cosmetic filtering-related content scripts
To minimize delay to First Contentful Paint. The idea is to avoid
complex data structures such as Map in order to speed up first content
script execution. Use stringified arrays where practical and
instanciate those arrays from their stringified representation only
when there are actual cosmetic filters to apply.

Related commit:
https://github.com/gorhill/uBlock/commit/6039ef2b6d
2025-12-05 08:54:34 -05:00
Raymond Hill
6039ef2b6d
[mv3] Generate at most two scriptlet-related files per rulesets
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/557
2025-12-04 12:57:25 -05:00
Raymond Hill
d5793b83f2
Set Firefox minimum version to 115
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/discussions/3878#discussioncomment-15147836
2025-12-04 06:51:17 -05:00
Raymond Hill
9653f20165
Update submodules 2025-11-30 12:52:34 -05:00
Raymond Hill
967b21415b
Import translation work from https://crowdin.com/project/ublock 2025-11-30 10:42:37 -05:00
Raymond Hill
cd814ee818
[mv3] Improve automatically changing filtering mode
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/554
2025-11-29 09:41:46 -05:00
Raymond Hill
ab3227b8cb
Update changelog 2025-11-28 15:07:25 -05:00
Raymond Hill
be78200c2f
Fix regression in prevent-fetch scriptlet
Related feedback:
https://github.com/uBlockOrigin/uAssets/issues/30954#issuecomment-3589375849
2025-11-28 15:05:53 -05:00
Raymond Hill
95aca83289
Update changelog 2025-11-28 14:35:53 -05:00
Raymond Hill
186f7d1828
New revision for dev build 2025-11-28 14:33:44 -05:00
Raymond Hill
fd12d01928
Add prevent-dialog scriptlet
@scriptlet prevent-dialog

@description
Programmatically close `dialog` elements.

@param [selector]
Optional. The dialog element must matches `dialog{selector}` for the
prevention to take place.

@usage:
example.com##+js(prevent-dialog)
2025-11-28 14:32:22 -05:00
Raymond Hill
474723d9ca
[mv3] Improve management of regex-based rules
- Make place for more dynamic regex-based rules when there is a
  risk session regex-based rules could interfere

- Do not prune `allow` strict-block rules as they do not contribute
  toward the overall regex-based rule count

Possibly related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/556
2025-11-28 13:29:59 -05:00
Raymond Hill
015ddcde29
[firefox] Change minimum required version to 128
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/discussions/3878
2025-11-28 12:53:45 -05:00
Raymond Hill
b983367021
New revision for stable release 2025-11-26 16:23:57 -05:00
Raymond Hill
04ee22713c
Update submodules 2025-11-26 16:21:24 -05:00
Raymond Hill
d2c3d9a33e
Make Firefox dev build auto-update 2025-11-25 10:52:34 -05:00
Raymond Hill
85db7c38c1
[mv3][edge] Reject responseheaders rules only for non-regex rules
Related commit:
a5091488e5
2025-11-23 11:16:16 -05:00
Raymond Hill
cef428e565
Import translation work from https://crowdin.com/project/ublock 2025-11-23 09:27:48 -05:00
Raymond Hill
eae618e7e8
[mv3] Force ltr for troubleshooting info 2025-11-21 10:03:24 -05:00