1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 01:29:39 +02:00
Commit Graph

11650 Commits

Author SHA1 Message Date
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
Raymond Hill
77a04584d0
Make Firefox dev build auto-update 2023-09-11 12:46:23 -04:00
Raymond Hill
552a094bd6
New revision for dev build 2023-09-11 12:37:14 -04:00
Raymond Hill
2571660161
Fix removal of :scope prefix in :has() operator
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/2778#issuecomment-1705101771
2023-09-11 12:34:53 -04:00
Raymond Hill
d5fb3c08a1
Remove broken content link for ROU list 2023-09-10 16:10:04 -04:00
Raymond Hill
74d04f1945
[mv3] Fix overiting of version in manifest 2023-09-10 14:24:29 -04:00
Raymond Hill
1db17ac4bf
[mv3] Support the tagname being set externally 2023-09-09 09:47:38 -04:00
Raymond Hill
b2d8c9a0ba
Drop cdn.statically.io for quick-fixes for the time being 2023-09-08 09:35:19 -04:00
Raymond Hill
c0df544e8c
New revision for stable release 2023-09-08 09:32:59 -04:00
Raymond Hill
ba8820fe31
Import translation work from https://crowdin.com/project/ublock 2023-09-08 09:19:26 -04:00
Raymond Hill
df5a48488c
Make Firefox dev build auto-update 2023-09-06 13:15:43 -04:00
Raymond Hill
28d5fe505e
New revision for release candidate 2023-09-06 13:06:05 -04:00
Raymond Hill
14d60ac5d3
Fix json-prune-xhr-response as per feedback
Related commit:
abe41034f6
2023-09-06 13:04:43 -04:00
Raymond Hill
5c9c0a8023
Make Firefox dev build auto-update 2023-09-05 14:21:13 -04:00
Raymond Hill
8f8ca5c5c9
New revision for release candidate 2023-09-05 14:13:45 -04:00
Raymond Hill
abe41034f6
Change approach to ...-xhr-response scriptlets
Related commit:
3152896d42
2023-09-05 14:11:33 -04:00
Raymond Hill
0f82471ee2
Make Firefox dev build auto-update 2023-09-04 15:16:10 -04:00
Raymond Hill
e9147b534d
New revision for release candidate 2023-09-04 15:00:57 -04:00
Raymond Hill
3152896d42
Add json-prune-xhr-response and trusted-replace-xhr-response scriptlets
As discussed with filter list maintainers.

Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2743
2023-09-04 14:54:57 -04:00
Raymond Hill
eeafae12b0
Let uBOL-home pick the uBO version 2023-08-25 11:17:15 -04:00
Raymond Hill
1fc4232ece
Make Firefox dev build auto-update 2023-08-25 07:46:09 -04:00
Raymond Hill
971a71c7a2
New revision for dev build 2023-08-25 07:39:20 -04:00
Raymond Hill
2282215e1c
Use globalThis instead of self in scriptlet helper
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/discussions/2768
2023-08-25 07:28:50 -04:00
Raymond Hill
15e6f7990a
Make Firefox dev build auto-update 2023-08-23 10:25:53 -04:00
Raymond Hill
dd78aa99ad
New revision for release candidate 2023-08-23 10:17:51 -04:00