Raymond Hill
53fd3039a4
New revision for dev build
2023-08-13 13:30:35 -04:00
Raymond Hill
4feb59435a
Typo
2023-08-13 13:28:02 -04:00
Raymond Hill
418087de9c
Improve `no-xhr-if` scriptlet
...
Now support AdGuard's `randomize` parameter. If `true`,
the scriplet will generate a random 10-character string
to be returned as the response.
Reference:
https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-scriptlets.md#prevent-xhr
AdGuard's `prevent-xhr` also support `length:n-m` form,
but since I do not see it being used, for now it's not
supported in uBO's `no-xhr-if`.
Additionally, the scriptlet will now honor `responseType` and
return the proper response type accordingly.
2023-08-13 13:23:41 -04:00
gorhill
21fe1c2df8
Update build log file
...
Files changed:
M dist/mv3/log.txt
2023-08-12 23:41:30 +00:00
Raymond Hill
be7f277251
Fix link to package in update.json
2023-08-12 09:02:25 -04:00
gorhill
a7387818d1
Update build log file
...
Files changed:
M dist/mv3/log.txt
2023-08-12 12:09:12 +00:00
Raymond Hill
376bddb0ff
Update README.md
2023-08-12 08:06:31 -04:00
Raymond Hill
f049aea65e
Provide instructions on how to build uBO Lite
...
Required by AMO when submitting an extension to be hosted on AMO.
2023-08-12 08:02:42 -04:00
Raymond Hill
f20f2bbc77
Update mv3.yml
2023-08-12 07:50:06 -04:00
gorhill
44f3bea4c3
Update build log file
...
Files changed:
M dist/mv3/log.txt
2023-08-12 11:02:32 +00:00
Raymond Hill
c4d324362f
Make Firefox dev build auto-update
2023-08-11 20:50:45 -04:00
gorhill
5e9d9f0ddd
Update build log file
...
Files changed:
M dist/mv3/log.txt
2023-08-12 00:46:44 +00:00
Raymond Hill
a9a78d415d
[mv3] Various approach to minimize DNR ruleset file
...
Related issue:
https://github.com/mozilla/addons-server/issues/4717
2023-08-11 20:42:03 -04:00
gorhill
9d696998c7
Update build log file
...
Files changed:
M dist/mv3/log.txt
2023-08-11 22:23:22 +00:00
gorhill
8f49c74ad7
Update build log file
...
Files changed:
M dist/mv3/log.txt
2023-08-11 21:58:43 +00:00
Raymond Hill
3d60d1bde4
Comment
2023-08-11 17:55:29 -04:00
Raymond Hill
bb41d9594f
[mv3] Use workaround to inject scriptlets in Firefox
...
Additionally:
Use `export UBO_VERSION=local` at the console to build MV3 extension using
current version of uBO code base. By default, the version is taken from
`./platform/mv3/ubo-version' and usually set to last stable release.
2023-08-11 13:22:25 -04:00
Raymond Hill
5ec0550581
Make Firefox dev build auto-update
2023-08-10 13:41:31 -04:00
Raymond Hill
115f9d43d0
New revision for dev build
2023-08-10 13:34:26 -04:00
Raymond Hill
cbadfe05ee
Remove unused import
2023-08-10 13:31:52 -04:00
gorhill
0b0451f50f
Update build log file
...
Files changed:
M dist/mv3/log.txt
2023-08-10 17:20:09 +00:00
Raymond Hill
2d32505045
Build uBO Lite on top of stable release of uBO
2023-08-10 13:16:35 -04:00
Raymond Hill
e295822f93
Build uBO Lite on top of stable release of uBO
2023-08-10 13:08:15 -04:00
Raymond Hill
79ed0c76cb
Use non-normalized URL for reload/report operations
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2774
2023-08-10 12:10:19 -04:00
Raymond Hill
7bcc340ab0
Add commented keywords to `googlesyndication_adsbygoogle.js` scriptlet
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2773
2023-08-10 09:54:58 -04:00
Raymond Hill
ef865bea19
Add more info to logged output
2023-08-09 11:18:04 -04:00
Raymond Hill
cfac880cf5
Improve logging abilities of `object-prune.fn`
2023-08-09 11:05:53 -04:00
Raymond Hill
ec82dec757
Make Firefox dev build auto-update
2023-08-09 09:41:18 -04:00
Raymond Hill
e34f82f3df
New revision for dev build
2023-08-09 09:30:30 -04:00
Raymond Hill
3c609793fd
Improve `fingerprint2.js` scriptlet
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2741
2023-08-09 09:28:05 -04:00
Raymond Hill
a3a2ac5ec0
Nothing can come after action operator in procedural cosmetic filters
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2760
2023-08-09 08:26:35 -04:00
Raymond Hill
b4ffd16db6
Fix/improve logging in `json-prune` scriptlet
2023-08-09 08:02:45 -04:00
Raymond Hill
2c04b5a982
Add ability to distinguish trapped entry point in `json-prune`
2023-08-08 12:30:42 -04:00
Raymond Hill
4f082a96bc
Support negated pattern for `*[pP]ropsToMatch` values in scriptlets
2023-08-08 12:20:03 -04:00
Raymond Hill
d6ab05531c
Make Firefox dev build auto-update
2023-08-08 10:40:53 -04:00
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