Commit Graph

12665 Commits

Author SHA1 Message Date
Raymond Hill 27f3612fdf
[mv3] Set Optimal as default if extension broad permission at install time
This is to prepare uBOL to be ready to set Optimal mode as default
if ever Chromium-based browsers support a way to pre-grant broad host
permissions in a policy.

Related issue:
https://github.com/uBlockOrigin/uBOL-home/discussions/232
https://github.com/uBlockOrigin/uBOL-home/discussions/135
2024-10-17 12:37:21 -04:00
Raymond Hill 89c353640e
[mv3] Add EST-0 list 2024-10-17 12:27:49 -04:00
Raymond Hill 4291c874d9
Fix regression in `prevent-xhr` scriptlet
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3418
2024-10-17 12:11:50 -04:00
Raymond Hill 98db549bb7
Make Firefox dev build auto-update 2024-10-16 08:56:20 -04:00
Raymond Hill e6b7f06ab4
New revision for dev build 2024-10-16 08:29:52 -04:00
Raymond Hill e9c0ad59dd
Update changelog 2024-10-16 08:29:25 -04:00
Raymond Hill 32f27c5131
Ensure `urlskip=` redirects only to `https:` 2024-10-16 08:25:56 -04:00
Raymond Hill 94ca27acd1
Make Firefox dev build auto-update 2024-10-12 09:25:59 -04:00
Raymond Hill 6df1ea8cd6
New revision for dev build 2024-10-12 08:56:20 -04:00
Raymond Hill 3e7a79ebef
Update changelog 2024-10-12 08:55:54 -04:00
Raymond Hill ce9fc5dc14
Add support to `urlskip=` media resources
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3206#issuecomment-2406777654
2024-10-12 08:52:05 -04:00
Raymond Hill 2c60bb3b07
[mv3] Issue labels cannot be set client-side 2024-10-11 16:41:13 -04:00
Raymond Hill 44bcb5fd99
Make Firefox dev build auto-update 2024-10-11 09:15:40 -04:00
Raymond Hill f5a7053acb
New revision for dev build 2024-10-11 09:07:12 -04:00
Raymond Hill d0ae3c3e77
Update changelog 2024-10-11 09:06:49 -04:00
Raymond Hill b8959dcca9
Comment 2024-10-11 09:04:23 -04:00
Raymond Hill caba9cdefa
Use uBO's default listset 2024-10-11 09:03:30 -04:00
Raymond Hill 01eebffc1f
Add `-uricomponent` to `urlskip=` option
To unescape URI-encoded characters.

Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/issues/3206#issuecomment-2406479971
2024-10-11 08:56:50 -04:00
Fanboynz 4d982d9972
Add forbidden/forever values (#3925) 2024-10-11 08:26:37 -04:00
Raymond Hill e5d16a1883
Typo 2024-10-10 11:35:58 -04:00
Raymond Hill 3cee922e68
Make Firefox dev build auto-update 2024-10-10 11:35:40 -04:00
Raymond Hill 9e3c978d55
Minor edit to comment 2024-10-10 11:31:57 -04:00
Raymond Hill 2e1dac5950
New revision for dev build 2024-10-10 11:22:44 -04:00
Raymond Hill 0c462e3ca1
Update changelog 2024-10-10 11:22:23 -04:00
Raymond Hill c86ed5287b
Add regex extraction transformation step to `urlskip=` option
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3206#issuecomment-2403795984

The first capture group of the regex will be used as the result of the
transformation. Example:

||podtrac.com/pts/redirect.mp3/$urlskip=/podtrac\.com\/pts\/redirect\.mp3\/(.*?\.mp3\b)/ +https

If the regex is invalid, or if it fails to extract a first capture
group, no redirection will occur.
2024-10-10 11:11:07 -04:00
Raymond Hill 913f20f0a8
Make Firefox dev build auto-update 2024-10-08 19:56:23 -04:00
Raymond Hill a72def1cbf
New revision for dev build 2024-10-08 19:50:34 -04:00
Raymond Hill 987e198016
Update changelog 2024-10-08 19:50:14 -04:00
Raymond Hill 85877b12ed
Improve `prevent-window-open` scriptlet
Support triggering a `debugger` statement when `window.open()` is
called.

Related feedback:
https://github.com/uBlockOrigin/uAssets/issues/25510#issuecomment-2400067735
2024-10-08 19:47:35 -04:00
Raymond Hill 58bfe4c846
Add support to parse Adguard's `[$domain=/.../]` regex-based modifier
The modifier will be converted to one that is compatible with uBO, i.e.:

    [$domain=/^trgoals\d+\.xyz$/]##+js(set-constant, isShow, true)

Will parsed as equivalent of:

    /^trgoals\d+\.xyz$/##+js(set-constant, isShow, true)

Related issue:
https://github.com/AdguardTeam/FiltersCompiler/issues/204

Reference:
https://adguard.com/kb/general/ad-filtering/create-own-filters/#non-basic-domain-modifier
2024-10-08 19:19:08 -04:00
Raymond Hill ec3852b745
Re-word: it's timing per request, not per call to SNFE.match()
A single request can require multiple calls to the static network
filtering engine (SNFE). The reported timing is the result of
going through *all* the required calls to SNFE. In effect, a
single call to SNFE.match() is a fraction of the reported timing.
2024-10-07 15:06:12 -04:00
Raymond Hill a80c749096
Make Firefox dev build auto-update 2024-10-07 12:05:41 -04:00
Raymond Hill f825a65f8e
New revision for dev build 2024-10-07 12:00:21 -04:00
Raymond Hill 4aae1bdf47
Minor code review 2024-10-07 11:56:22 -04:00
Raymond Hill daa62c3081
Update README for npm package 2024-10-07 08:56:34 -04:00
Raymond Hill 9a286495a5
New npm version 2024-10-07 08:49:09 -04:00
Raymond Hill 34508a1c2d
Add demo.js to npm build
To help people to get quickly started with using the package.
2024-10-07 08:47:45 -04:00
Raymond Hill 26c0aa357e
New npm version 2024-10-07 07:38:41 -04:00
Raymond Hill 013e6db6ef
Fix typo 2024-10-06 17:05:44 -04:00
Raymond Hill acf7f39a60
New revision for npm package 2024-10-06 17:04:08 -04:00
Raymond Hill 86aeae75df
Further fix npm documentation, minor code review 2024-10-06 17:03:18 -04:00
Raymond Hill 9233e6b7c6
Fix npm documentation
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3402
2024-10-06 16:29:42 -04:00
Raymond Hill ccbf957f55
Make Firefox dev build auto-update 2024-10-06 15:06:21 -04:00
Raymond Hill 1f32bbc322
New revision for dev build 2024-10-06 14:57:07 -04:00
Raymond Hill cc60dfa4c5
Update changelog 2024-10-06 14:56:47 -04:00
Raymond Hill c746633693
Validate result type of XPath expressions
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3403

To ensure XPath expressions not meant to return a nodeset are
discarded at compile time.
2024-10-06 14:27:55 -04:00
Raymond Hill 447476ab9b
New npm package version 2024-10-06 14:27:46 -04:00
Raymond Hill a12bf9405e
Make Firefox dev build auto-update 2024-10-06 12:40:51 -04:00
Raymond Hill e0eb59c5d4
New revision for dev build 2024-10-06 12:34:58 -04:00
Raymond Hill 5700424716
Update changelog 2024-10-06 12:34:26 -04:00