Raymond Hill
6f74df942d
Fix no-xhr-if
scriptlet for Firefox
...
Related feedback:
https://github.com/uBlockOrigin/uAssets/issues/20063#issuecomment-1762157408
2023-10-13 21:24:21 -04:00
Raymond Hill
fb42411efb
Add browser_specific_settings.gecko_android
to Firefox manifests
...
Reference:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings
2023-10-11 12:32:38 -04:00
Raymond Hill
f15dff27fe
Minor code review
2023-10-10 13:30:18 -04:00
Raymond Hill
3a5606125d
Import translation work from https://crowdin.com/project/ublock
2023-10-10 10:42:14 -04:00
Raymond Hill
e376712ee1
Make Firefox dev build auto-update
2023-10-10 10:36:38 -04:00
Raymond Hill
72f33ea1dc
New revision for dev build
2023-10-10 10:24:48 -04:00
Raymond Hill
437453233d
Support restoring from application/json
file
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2853
2023-10-10 10:16:55 -04:00
Raymond Hill
0a18f75897
Fix dumping of CFE internals when no cosmetic filters present
2023-10-09 11:12:10 -04:00
Raymond Hill
780383faef
Use safe versions of Math.floor/Math.random in scriptlets
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/78
2023-10-09 09:45:26 -04:00
Raymond Hill
ad75b1bdba
Remove unreferenced dependencies
...
Related commit:
d4918c1d0a
2023-10-07 13:48:28 -04:00
Raymond Hill
92ca156c56
Make Firefox dev build auto-update
2023-10-07 12:35:49 -04:00
Raymond Hill
078bb7b102
New revision for dev build
2023-10-07 12:28:54 -04:00
Raymond Hill
02c7b32bef
Improve google-ima.js
surrogate
...
Related issues:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2265
- https://github.com/uBlockOrigin/uAssets/issues/19981
2023-10-07 12:27:03 -04:00
Raymond Hill
d4918c1d0a
Add version
vararg to [...]-fetch-response
scriptlets
...
If the `version` vararg is present and set to `2`, and if a
fetch Request argument is present, it will be cloned before
being matched to `propsToMatch` properties.
Additionally, created a `.fn` version of `[...]-fetch-response`
scriptlets to avoid redundant code in final injected scriptlets.
2023-10-07 11:49:17 -04:00
Raymond Hill
67f1d7de66
Make Firefox dev build auto-update
2023-10-05 11:36:20 -04:00
Raymond Hill
d94ee8d6e1
New revision for dev build
2023-10-05 11:28:41 -04:00
Raymond Hill
bd71d131a8
Catch unhandled exceptions
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/77
2023-10-05 11:25:28 -04:00
Raymond Hill
6b211f622c
Add stackToMatch
vararg to json-prune-related scriptlets
...
As per discussion with filter list maintainers.
2023-10-05 11:24:35 -04:00
Raymond Hill
7416340144
Prune rules with invalid regex-based filter for all realms
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/77
2023-10-03 10:51:47 -04:00
Raymond Hill
1268f7733e
Make Firefox dev build auto-update
2023-10-02 09:06:17 -04:00
Raymond Hill
50140f3da7
New revision for dev build
2023-10-02 08:59:26 -04:00
Raymond Hill
4cac9d185b
Reduce race conditions in scriptlet injection on Firefox
...
This is done by taking advantage through Firefox-specific
contentScripts.register() API:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts
2023-10-02 08:42:03 -04:00
Raymond Hill
f580cb414d
Make Firefox dev build auto-update
2023-09-29 13:00:48 -04:00
Raymond Hill
34f18acca5
New revision for dev build
2023-09-29 12:53:29 -04:00
Raymond Hill
d3b95c1c68
Add site-specific scriptlet
...
Related issue:
https://github.com/uBlockOrigin/uAssets/issues/19903
2023-09-29 12:51:44 -04:00
Raymond Hill
1ff3878a49
Add prevent-canvas
scriptlet
...
Prevent usage of specific or all (default) canvas APIs.
Syntax
```text
example.com##+js(prevent-canvas [, contextType])
```
- `contextType`: A specific type of canvas API to prevent (default to all
APIs). Can be a string or regex which will be matched against the type
used in getContext() call. Prepend with `!` to test for no-match.
Examples
1. Prevent `example.com` from accessing all canvas APIs
```adblock
example.com##+js(prevent-canvas)
```
2. Prevent access to any flavor of WebGL API, everywhere
```adblock
*##+js(prevent-canvas, /webgl/)
```
3. Prevent `example.com` from accessing any flavor of canvas API except `2d`
```adblock
example.com##+js(prevent-canvas, !2d)
```
References
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext
2023-09-28 11:26:45 -04:00
Raymond Hill
c20cfd41a9
Make Firefox dev build auto-update
2023-09-28 10:15:47 -04:00
Raymond Hill
2ca4b73f95
New revision for dev build
2023-09-28 10:09:52 -04:00
Raymond Hill
4e2aa3e384
Add scriptlet aliases for compatibility with AdGuard lists
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2828
2023-09-28 10:07:03 -04:00
Raymond Hill
c3cd596175
Remove unmaintained urlhaus PUP filter list
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2844
2023-09-28 09:49:07 -04:00
Raymond Hill
402e2ebf57
Use AG version of urlhaus list
...
Related discussion:
https://github.com/uBlockOrigin/uAssets/issues/7636#issuecomment-1735697402
2023-09-26 16:20:01 -04:00
Raymond Hill
38ac26a949
Make Firefox dev build auto-update
2023-09-22 09:45:51 -04:00
Raymond Hill
b95c90ba7c
Import translation work from https://crowdin.com/project/ublock
2023-09-22 09:36:01 -04:00
Raymond Hill
bf828bc022
New revision for dev build
2023-09-22 09:33:43 -04:00
Raymond Hill
cce3f3efc1
Minor code review of scriptlets
2023-09-22 09:33:02 -04:00
Raymond Hill
3f3f383473
Make Firefox dev build auto-update
2023-09-19 07:31:31 -04:00
Raymond Hill
3e55da476c
New revision for dev build
2023-09-19 07:19:39 -04:00
Daylin Cooper
ce959164bb
Fix XHR hook partial response handling.
2023-09-18 23:39:17 -07:00
Raymond Hill
54dc0cd32d
Make Firefox dev build auto-update
2023-09-17 10:46:27 -04:00
Raymond Hill
f81ec52fa8
New revision for dev build
2023-09-17 10:39:22 -04:00
Raymond Hill
20d3c6a466
Fix detection of leading combinators
...
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/2778#issuecomment-1722488224
2023-09-17 10:37:43 -04:00
Raymond Hill
d005e3f3ac
[mv3] Fix glitchy popup panel when width increases
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/66
2023-09-16 12:23:47 -04:00
Raymond Hill
ee6de37b6e
[mv3] Rework dashboard to avoid usage of iframe
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/67
2023-09-16 11:46:39 -04:00
Raymond Hill
e6aae07310
Make Firefox dev build auto-update
2023-09-16 10:36:38 -04:00
Raymond Hill
723302069d
New revision for dev build
2023-09-16 10:30:08 -04:00
Raymond Hill
7ef3408712
Fix regression in :is()
operator
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2818
2023-09-16 09:45:46 -04:00
Raymond Hill
98e1b264de
Update scriptlets
...
Allow smaller multipliers in nano-sib/nano-stb
https://github.com/uBlockOrigin/uBlock-issues/issues/2808
Remove adfly-defuser, which is now unused.
2023-09-14 11:13:58 -04:00
Raymond Hill
c7535f1eda
Make Firefox dev build auto-update
2023-09-12 20:40:57 -04:00
Raymond Hill
627254bdc9
New revision for dev build
2023-09-12 20:35:20 -04:00
Raymond Hill
313a3121c9
Do not assume set viewport for popup panel when using portrait mode in descktop
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2814
2023-09-12 20:33:14 -04:00