Commit Graph

11984 Commits

Author SHA1 Message Date
Raymond Hill 0ad198ecfc
Update changelog 2024-01-11 13:33:43 -05:00
Raymond Hill 63fe18a761
Do not exceed rate-limited calls to handlerBehaviorChanged()
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3063

To prevent spurious performance warnings by chromium-based browsers.
2024-01-11 13:25:19 -05:00
Raymond Hill ba3a8d58a7
Make Firefox dev build auto-update 2024-01-11 11:55:34 -05:00
Raymond Hill fc0b9b1d50
New revision for dev build 2024-01-11 11:47:54 -05:00
Raymond Hill 9caaad8fd0
Update changelog 2024-01-11 11:47:09 -05:00
Raymond Hill 534d877e95
Shield some code paths against potentially tampered global properties
Related feedback:
https://github.com/uBlockOrigin/uAssets/issues/21895#issuecomment-1887472623
2024-01-11 11:41:37 -05:00
Raymond Hill f6b726136c
Do not prevent applying changes when lists are updating
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3066
2024-01-11 10:50:18 -05:00
Raymond Hill bfb4304b1d
Make Firefox dev build auto-update 2024-01-10 13:05:26 -05:00
Raymond Hill 010cd3f9e0
Import translation work from https://crowdin.com/project/ublock 2024-01-10 12:59:09 -05:00
Raymond Hill d5a5ca851c
Update changelog 2024-01-10 12:56:13 -05:00
Raymond Hill dbfbd63871
New revision for dev build 2024-01-10 12:54:14 -05:00
Raymond Hill 060f9d68fc
Add `elements` vararg to `prevent-addEventListener` scriptlet
If present, `elements` vararg must be a valid CSS selector, which will
be used to apply the scriptlet to only elements matching the
selector.

Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3061

Example of usage:

[...]##+js(aeld, click, return"undefined", elements, a.indirect)
2024-01-10 12:46:23 -05:00
Raymond Hill a9eb9630cf
Do not use tab character as field separator
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2730#issuecomment-1881821674

Character `\x1F` is now used instead.
2024-01-09 14:31:00 -05:00
Raymond Hill 17be8dafc5
Make Firefox dev build auto-update 2024-01-04 11:25:27 -05:00
Raymond Hill b8a8e70c67
Update changelog 2024-01-04 11:04:47 -05:00
Raymond Hill 36a1e45e5c
New revision for dev build 2024-01-04 11:02:17 -05:00
Raymond Hill 4234faafc4
Use arrow function 2024-01-04 11:01:51 -05:00
Raymond Hill 9a104bcbd2
Prevent `:others()` from hiding `html` tag
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3060
2024-01-04 10:57:27 -05:00
Raymond Hill c65dbdbffa
New version for stable release 2024-01-03 15:08:40 -05:00
Raymond Hill 8f3397f581
Make Firefox dev build auto-update 2024-01-01 10:40:38 -05:00
Raymond Hill 1ea1ff7f4f
Import translation work from https://crowdin.com/project/ublock 2024-01-01 10:30:57 -05:00
Raymond Hill 3adb2b7cfb
New revision for release candidate 2024-01-01 10:26:55 -05:00
Raymond Hill e1ae17ed00
Improve `prevent-fetch` scriptlet
Related issue:
https://github.com/AdguardTeam/AdguardFilters/issues/153796
2024-01-01 10:24:47 -05:00
Raymond Hill 00fb5f18b2
Add to error message 2023-12-26 11:32:08 -05:00
Raymond Hill 35bf15cf96
Make Firefox dev build auto-update 2023-12-25 09:15:33 -05:00
Raymond Hill 3e17146daf
New revision for release candidate 2023-12-25 09:10:52 -05:00
Raymond Hill 38bde79146
Use `CSS.supports()` to detect support of native `:has()`
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2480#issuecomment-1868595930
2023-12-25 09:06:42 -05:00
Raymond Hill abbff2dea9
Make Firefox dev build auto-update 2023-12-23 17:55:41 -05:00
Raymond Hill 26f45e1fdf
Import translation work from https://crowdin.com/project/ublock 2023-12-23 17:45:36 -05:00
Raymond Hill 313df91f54
New revision for release candidate 2023-12-23 17:42:46 -05:00
Raymond Hill ec8292ef92
Fix bad text colors in logger for dark theme
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/discussions/1963#discussioncomment-7921578
2023-12-22 19:49:36 -05:00
Raymond Hill 82becb8329
Make Firefox dev build auto-update 2023-12-22 12:15:55 -05:00
Raymond Hill bf1be1c031
New revision for dev build 2023-12-22 11:46:40 -05:00
Raymond Hill f81d71c6e8
Mind type of drop event items
Related feedback:
https://github.com/gorhill/uBlock/commit/c8b7d1a526#commitcomment-135590810
2023-12-22 11:45:35 -05:00
Raymond Hill bdbb52e538
Make Firefox dev build auto-update 2023-12-22 10:55:42 -05:00
Raymond Hill 71c3bbe46b
New revision for dev build 2023-12-22 10:48:15 -05:00
Raymond Hill 7287a852e7
Update changelog 2023-12-22 10:47:45 -05:00
Raymond Hill c8b7d1a526
Mind drop events in filter expression field of logger
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/issues/3036#issuecomment-1867497436
2023-12-22 10:45:43 -05:00
Raymond Hill d7063a052f
Improve `xml-prune` scriptlet
Related issue:
https://github.com/uBlockOrigin/uAssets/issues/21532
2023-12-22 10:15:37 -05:00
Raymond Hill a770ed957b
Make Firefox dev build auto-update 2023-12-21 12:11:16 -05:00
Raymond Hill fa2f91216e
Update changelog 2023-12-21 12:05:49 -05:00
Raymond Hill ac860837ef
New revision for dev build 2023-12-21 12:04:40 -05:00
Raymond Hill 49c8310e22
Fix message entry overflowing in logger
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3021
2023-12-21 12:02:57 -05:00
Raymond Hill 34a8a7ae82
Make Firefox dev build auto-update 2023-12-21 11:35:35 -05:00
Raymond Hill 4907864e50
Update changelog 2023-12-21 11:17:53 -05:00
Raymond Hill 2ae5c33449
New revision for dev build 2023-12-21 11:16:52 -05:00
Raymond Hill 826bc7d457
It's ok for toLogger() to be in derived class
Related commit:
aa7f77aaad
2023-12-21 11:14:33 -05:00
Raymond Hill aa7f77aaad
Split scriptlet filtering engine into lo- and hi-level classes
The idea is to remove as many dependencies as possible for
low-level ScriptletFilteringEngine in order to make it easier
to reuse the module outside uBO itself.

The high-level derived class takes care of caching and
injection of scriptlets into documents, which requires
more knowledge about the environment in which scriptlets
are to be used.

Also improve scriptlet cache usage to minimize overhead of
retrieving scriptlets.
2023-12-21 10:48:01 -05:00
Raymond Hill abeadf18eb
Add support for `application/x-javascript` in `replace=` option
Related issue:
https://github.com/uBlockOrigin/uAssets/issues/5090
2023-12-21 10:43:14 -05:00
Raymond Hill c692be3969
Make Firefox dev build auto-update 2023-12-20 11:46:03 -05:00