Raymond Hill
36454bdf75
New revision for dev build
2023-08-08 10:30:53 -04:00
Raymond Hill
96d7b278b4
Output scriplet errors to console in dev build
2023-08-08 10:29:54 -04:00
Raymond Hill
f8394ff2d5
Add variable argument fetchPropsToMatch
to json-prune
scriptlet
...
`fetchPropsToMatch` is an optional variable argument. If provided,
the scriplet will take effect only when the JSON data is obtained
through `Response.json()` and if there is a match with the value of
`fetchPropsToMatch` and the properties of the `Response` instance.
Examples of usage:
...##+js(json-prune, ads, , , fetchPropsToMatch, ?param=)
...##+js(json-prune, ads, , , fetchPropsToMatch, url:?param= method:get)
The optional variable argument `fetchPropsToMatch` acts as an additional
narrowing condition to fulfill before the JSON data is pruned.
2023-08-08 10:18:34 -04:00
Raymond Hill
8bf1ed954d
Move often-used scriptlet dependencies to safe-self
2023-08-08 07:41:21 -04:00
Raymond Hill
9ac18318af
Fix parsing cosmetic filter anchor when using AdGuard/ABP modifiers
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2765
2023-08-07 13:58:15 -04:00
Raymond Hill
e33d29ac5a
Make Firefox dev build auto-update
2023-08-07 13:15:57 -04:00
Raymond Hill
0088ff74d4
New revision for dev build
2023-08-07 13:09:20 -04:00
Raymond Hill
1762ea3950
Generate new Response when no match in trusted-replace-fetch-response
scriptlet
...
Somehow, sending the original Response instance causes issues.
2023-08-07 13:06:54 -04:00
Raymond Hill
5ee00a6b68
Make Firefox dev build auto-update
2023-08-07 10:56:13 -04:00
Raymond Hill
443c30f18c
Import translation work from https://crowdin.com/project/ublock
2023-08-07 10:46:39 -04:00
Raymond Hill
b27645af06
New revision for dev build
2023-08-07 10:41:12 -04:00
Raymond Hill
d28b715811
Fix broken trusted-replace-fetch-response
when using propsToMatch
2023-08-07 10:37:47 -04:00
Raymond Hill
7f23861e10
Make Firefox dev build auto-update
2023-08-06 11:30:59 -04:00
Raymond Hill
e2501b9531
New revision for dev build
2023-08-06 11:22:03 -04:00
Raymond Hill
2c2fd5f21d
Improve trusted-replace-fetch-response
as per feedback
...
Specifically, the variable argument `log` can take one of three
values to enable logging mechanism:
..., log, match => log only when there is a match
..., log, nomatch => log only when there is no match
..., log, all => log unconditionally
2023-08-06 11:19:10 -04:00
Raymond Hill
60fcdf8e71
Update main URL of urlhaus lists
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2766
2023-08-06 09:19:35 -04:00
Raymond Hill
7de61bb4d8
Fix broken "Phishing URL Blocklist" URL
...
Related feedback:
https://www.reddit.com/r/uBlockOrigin/comments/15iwvqi/
2023-08-05 12:38:10 -04:00
Raymond Hill
32d2f28aae
Make Firefox dev build auto-update
2023-08-05 12:06:13 -04:00
Raymond Hill
62c61deaa7
New revision for dev build
2023-08-05 11:57:21 -04:00
Raymond Hill
82a7d11f78
Add trusted-replace-fetch-response
scriptlet
...
This scriplet requires a trusted source.
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2742
See AdGuard's documentation for usage:
https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-trusted-scriptlets.md#trusted-replace-fetch-response
2023-08-05 11:55:47 -04:00
Raymond Hill
9f91335ae5
Make Firefox dev build auto-update
2023-08-02 11:46:45 -04:00
Raymond Hill
ce4440fd35
New revision for dev build
2023-08-02 11:37:52 -04:00
Raymond Hill
64b849ab0b
Harden spoof-css
scriptlet
2023-08-02 11:36:54 -04:00
Raymond Hill
4bd562f3c2
Make Firefox dev build auto-update
2023-07-31 10:36:17 -04:00
Raymond Hill
3d9bec7f9d
New revision for dev build
2023-07-31 10:12:00 -04:00
Raymond Hill
84cc69aa10
Support negated pattern for stack test in scriptlets
...
Prepend pattern with `!` to test for unmatched patterns in
stack trace. This applies to sctiplet parameters which purpose
is to test against the stack, i.e. `aost` and `json-prune`.
Additionally, dropped support for JSON notation in favor of
optional variable arguments notation.
Related discussion:
- https://github.com/uBlockOrigin/uBlock-discussions/discussions/789#discussioncomment-6520330
2023-07-31 09:38:04 -04:00
Raymond Hill
bb7779ba75
Make Firefox dev build auto-update
2023-07-29 11:10:58 -04:00
Raymond Hill
2a0a98de3c
New revision for dev build
2023-07-29 10:53:23 -04:00
Raymond Hill
223e230e49
Fix looking up clickable URLs in code viewer
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2759
2023-07-29 10:51:15 -04:00
Raymond Hill
81b2fcee5d
Fine tune logging capabilities of json-prune
scriptlet
...
This extends logging capabilities of `json-prune` scriptlet as
follow:
...##+js(json-prune, a, b, stackNeedle, log, [logneedle], logstack, 1)
Whereas before, the only way to log `json-prune` usage was to skip
providing the property chain:
...##+js(json-prune, , b)
Where `b` was the expression to filter out logging output.
With the extended logging capabilities, the logging output can
be filtered out with `logneedle`, which can be a regex literal.
Additionally, to log the stack trace the `stackNeedle` argument
must be set to non-empty string. You can use `/.^/` to log the
stack trace without matching it.
2023-07-29 10:22:52 -04:00
Raymond Hill
b9f3523c95
[mv3] Add managed setting to disable first-run page
...
Related discussion:
- https://github.com/uBlockOrigin/uBOL-issues/discussions/61
Example of usage (chromium/linux):
{
"3rdparty": {
"extensions": {
"ddkjiahejlhfcafbddmgiahcphecmpfh": {
"disableFirstRunPage": true
}
}
}
}
2023-07-29 09:34:24 -04:00
Raymond Hill
bc74ea82af
Deploy changes in assets.dev.json to assets.json
...
Related commit:
- https://github.com/gorhill/uBlock/commit/f6954430d197
2023-07-28 11:16:59 -04:00
Raymond Hill
cc842b9928
Make Firefox dev build auto-update
2023-07-27 10:00:48 -04:00
Raymond Hill
808fc21670
New revision for dev build
2023-07-27 09:49:35 -04:00
Raymond Hill
4649ae4d78
Add stackNeedle
argument to json-prune
scriptlet
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2757
2023-07-27 09:41:56 -04:00
Raymond Hill
6d7674e69f
Improve logic to detect XMLDocument
response in xml-prune
...
Related discussion:
- https://github.com/uBlockOrigin/uBlock-discussions/discussions/792#discussioncomment-6561841
Additionally, added extra parameter `..., logdoc, 1` to allow dumping whole
document being worked on to the console.
2023-07-27 08:39:28 -04:00
Raymond Hill
d3ef9ccfd1
Make Firefox dev build auto-update
2023-07-25 09:50:57 -04:00
Raymond Hill
b742aab636
New revision for dev build
2023-07-25 09:26:46 -04:00
Raymond Hill
ba31d3c898
Convert abort-current-script
to variable paramater list
...
Related feedback:
- https://github.com/uBlockOrigin/uAssets/discussions/19154
2023-07-25 09:22:47 -04:00
Raymond Hill
334a7440f3
Improve xml-prune
scriptlet
...
Related feedback:
- https://github.com/uBlockOrigin/uBlock-discussions/discussions/792#discussioncomment-6536598
2023-07-25 09:06:54 -04:00
Raymond Hill
ceb7e0c10b
Make Firefox dev build auto-update
2023-07-24 08:01:33 -04:00
Raymond Hill
4e483e9385
New revision for dev build
2023-07-24 07:43:09 -04:00
Raymond Hill
fdb6dc2cc2
Fix remnants of visible text in collapsed rows
...
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2632#discussioncomment-6517792
2023-07-24 07:40:10 -04:00
Raymond Hill
fa489fdb87
Improve remove-class
behavior
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2750
2023-07-24 07:33:33 -04:00
Viktor Szépe
c23a9ada33
Fix typos
2023-07-23 10:01:08 -04:00
Raymond Hill
dd890667f2
Make Firefox dev build auto-update
2023-07-22 09:21:00 -04:00
Raymond Hill
c74fc6460e
Add visual hint for filtered out rows in firewall pane
...
Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2632
2023-07-22 09:11:23 -04:00
Raymond Hill
873c9181df
New revision for dev build
2023-07-22 08:10:40 -04:00
Raymond Hill
8ddad9e39b
Add $currentISODate$
to trusted-set-local-storage-item
scriptlet
...
Related feedback:
- https://github.com/uBlockOrigin/uAssets/issues/19120#issuecomment-1646524557
Additionally, improve logging in `m3u-prune` scriptlet.
2023-07-22 07:57:47 -04:00
peace2000
da8fe2f950
Add 'deny' as valid value for set-cookie ( #3897 )
...
AG added it as well.
6f36f888bb
2023-07-22 06:31:27 -04:00