Commit Graph

11900 Commits

Author SHA1 Message Date
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
Raymond Hill 546c989ebb
New revision for dev build 2023-12-20 11:32:42 -05:00
Raymond Hill 9a8dd66517
Fix having picker & inspector active at the same time
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3004#issuecomment-1863610146
2023-12-20 11:23:25 -05:00
Raymond Hill 698bec4f5b
Make Firefox dev build auto-update 2023-12-19 12:20:47 -05:00
Raymond Hill 462e8fe917
Import translation work from https://crowdin.com/project/ublock 2023-12-19 12:04:22 -05:00
Raymond Hill 4a929dbde3
Update changelog 2023-12-19 12:00:57 -05:00
Raymond Hill 4ef8945693
New revision for dev build 2023-12-19 11:59:29 -05:00
Raymond Hill 7f2703acd6
Only filter lists are diff-updatable 2023-12-19 11:51:20 -05:00
Raymond Hill 443c1f81e1
Extend support for differential updates to imported lists
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3028
2023-12-19 11:01:40 -05:00
Raymond Hill d13cd30043
Make Firefox dev build auto-update 2023-12-18 10:56:30 -05:00
Raymond Hill 95813793a5
New revision for dev build 2023-12-18 10:44:11 -05:00
Raymond Hill 24ab492b77
Fix overlooking whether auto-update is disabled
Related feedback:
https://old.reddit.com/r/uBlockOrigin/comments/18ktpd5/
2023-12-18 10:41:48 -05:00
Raymond Hill ebd9d93666
Prevent element picker from throwing when targeting `html`/`body`
Occurred when element picker was launched from context menu
as a result of clicking on `html` or `body` elements.
2023-12-16 11:23:58 -05:00
Raymond Hill c2b5fb1fda
Make Firefox dev build auto-update 2023-12-15 17:20:46 -05:00
Raymond Hill 0efa583202
Update changelog 2023-12-15 17:13:26 -05:00
Raymond Hill b850ea7f83
New revision for dev build 2023-12-15 17:01:06 -05:00
Raymond Hill 9f4b31a96f
Add detection of mismatched`!#if`-`!#endif` in linter
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/1712
2023-12-15 16:57:49 -05:00
Raymond Hill ac814302e0
Make Firefox dev build auto-update 2023-12-15 13:21:16 -05:00
Raymond Hill 625250716a
New revision for dev build 2023-12-15 13:10:23 -05:00
Raymond Hill d56468b4ec
Fix launch of auto update shortly after launch
Regression from:
https://github.com/gorhill/uBlock/commit/bd7ce41224
2023-12-15 09:59:56 -05:00
Raymond Hill b9476cfb6e
Make Firefox dev build auto-update 2023-12-14 17:06:27 -05:00
Raymond Hill ef4870b179
New revision for dev build 2023-12-14 16:57:18 -05:00
Raymond Hill a2caa7da78
Fix heuristic to verify whether a resource on a remote server is stale
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/discussions/3022
2023-12-14 16:51:28 -05:00
Raymond Hill 7822db1304
Make Firefox dev build auto-update 2023-12-14 10:46:42 -05:00
Raymond Hill 1a27f6a6cd
Import translation work from https://crowdin.com/translate/ublock 2023-12-14 10:36:18 -05:00
Raymond Hill 2087114d48
Update changelog 2023-12-14 10:24:43 -05:00
Raymond Hill 035be61be0
New revision for dev build 2023-12-14 10:20:26 -05:00
Raymond Hill 5e3f9695b4
Support links to update lists which are differential update-friendly
If the `manual` parameter is assigned a date in the form of
`YYMMDD`, this will tell uBO to update lists from origin sources
when the current time is within the range of the specified date,
otherwise lists will be updated from CDNs. Updating from CDNs
is always strongly recommended since this enables differential
updates.

For the time being, `manual=1` will always cause to update lists
from origin, but this form will be deprecated once next stable
release is widespread. The idea is to not leave behind stale
and obsolete links which would be detrimental to differential
updates should someone click on one of these old links left
behind.
2023-12-14 09:50:11 -05:00
Raymond Hill bd7ce41224
Remove "Purge all caches" button from "Filter lists" pane
Purging all the lists from cache storage is detrimental to
differential update, and cause filter lists to be updated less
often and consequently to be less up to date then when letting
differential updater do its work.
2023-12-13 21:01:51 -05:00
Raymond Hill 14926913f7
Add support for `all` list token in updater-link feature
Using `listkeys=all` will cause all enabled lists to be updated.
2023-12-12 11:04:16 -05:00
Raymond Hill 4305ea9c0c
Fix logging of broad exception filter `#@#+js()`
Related feedback:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/843

Regression from:
https://github.com/gorhill/uBlock/commit/1a863a877d
2023-12-12 08:21:47 -05:00
Raymond Hill a3e3cd9216
Ensure cache storage backend is selected before use
Related commit:
bfa28b960e
2023-12-11 12:17:25 -05:00
Raymond Hill acc2950736
[mv3] Fine tuning ruleset output 2023-12-11 09:29:59 -05:00
Raymond Hill cc305b84e0
Make Firefox dev build auto-update 2023-12-10 15:30:54 -05:00
Raymond Hill e1b23444aa
Update changelog 2023-12-10 15:23:40 -05:00