1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 15:33:38 +01:00
Commit Graph

12564 Commits

Author SHA1 Message Date
Raymond Hill
77feb25c4d
Improve set-constant scriptlet
Related feedback:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/881#discussioncomment-10072370
2024-07-17 09:36:55 -04:00
Raymond Hill
fd054176a8
Make Firefox dev build auto-update 2024-07-15 16:05:30 -04:00
Raymond Hill
68e81f640c
New revision for release candidate 2024-07-14 17:44:52 -04:00
Raymond Hill
9ce3056361
Improve prevent-fetch scriptlet
Add `statusText` as overridable property in response instance.

Supported values are: `""`, `"Not Found"`. `statusText` defaults
to `"OK"` when not overridden.
2024-07-14 12:15:53 -04:00
Raymond Hill
324102cb65
Make Firefox dev build auto-update 2024-07-13 11:16:01 -04:00
Raymond Hill
302ddad720
New revision for release candidate 2024-07-13 11:10:16 -04:00
Raymond Hill
b9717555c3
Update changelog 2024-07-13 11:09:53 -04:00
Raymond Hill
e785b99338
Improve prevent-fetch scriptlet
Related discussion:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/848#discussioncomment-10027757

Added support for AdGuard's `responseType` parameter. Extended the
meaning of that 3rd parameter to also be a JSON string with
properties to set on the returned response instance. Currently
supported properties:

- `ok`, supported values: `false`, `true`
- `type, supported values: `"basic"`, `"cors"`, `"opaque"`

Reference:
https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-scriptlets.md#-%EF%B8%8F-prevent-fetch
2024-07-13 11:02:54 -04:00
Raymond Hill
a54d416143
Make Firefox dev build auto-update 2024-07-11 11:55:39 -04:00
Raymond Hill
23b0e08715
New revision for release candidate 2024-07-11 11:04:34 -04:00
Raymond Hill
7fbf792ba0
Update changelog 2024-07-11 11:04:07 -04:00
Raymond Hill
66e3a1ad47
Improve href-sanitizer scriptlet
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3297

Mind that the sanitized URL can have Unicode characters beyond
ASCII.
2024-07-10 12:43:36 -04:00
Raymond Hill
569c8cbe04
Make Firefox dev build auto-update 2024-07-10 11:50:30 -04:00
Raymond Hill
dea9e77e27
New revision for release candidate 2024-07-10 11:46:00 -04:00
Raymond Hill
60a7812d7e
Update changelog 2024-07-10 11:45:25 -04:00
Raymond Hill
c90f4933df
Fix CSP/PP header injection in non-document resources
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/229#issuecomment-2220354261
https://old.reddit.com/r/uBlockOrigin/comments/1dz6du7/

Regression from:
https://github.com/gorhill/uBlock/commit/7c3e060c01
2024-07-10 11:41:55 -04:00
Raymond Hill
9c1252ef9c
Make Firefox dev build auto-update 2024-07-10 10:35:31 -04:00
Raymond Hill
282f4f5ef4
New revision for release candidate 2024-07-10 10:28:29 -04:00
Raymond Hill
6fb697b490
Update changelog 2024-07-10 10:16:17 -04:00
Raymond Hill
b98ef8141a
Fix CSP injection in non-document resources
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/229#issuecomment-2220354261
https://old.reddit.com/r/uBlockOrigin/comments/1dz6du7/

Regression from:
https://github.com/gorhill/uBlock/commit/7c3e060c01
2024-07-10 10:09:59 -04:00
Raymond Hill
e3b71a5861
Make Firefox dev build auto-update 2024-07-09 13:25:30 -04:00
Raymond Hill
462a4e0304
New revision for release candidate 2024-07-09 13:16:54 -04:00
Raymond Hill
2bdbac1b84
Import translation work from https://crowdin.com/project/ublock 2024-07-09 13:16:17 -04:00
Raymond Hill
25f8c03fde
Update changelog 2024-07-09 13:06:31 -04:00
Raymond Hill
97d11c03c2
Add trusted-suppress-native-method scriptlet
Reference:
https://github.com/AdguardTeam/Scriptlets/blob/5a92d79489/wiki/about-trusted-scriptlets.md#trusted-suppress-native-method

This is a first draft version, see code comments for details.
2024-07-09 13:03:50 -04:00
Raymond Hill
a3576ea651
Add support for $currentISODate$ in trusted-set-cookie scriptlet
Related discussion:
https://github.com/uBlockOrigin/uAssets/discussions/20789#discussioncomment-9979107
2024-07-07 11:19:40 -04:00
Fanboynz
37d31a82d8
Add essential and nonessential to set-cookie (#3919) 2024-07-07 09:25:34 -04:00
Raymond Hill
966a233219
Make Firefox dev build auto-update 2024-07-05 10:41:17 -04:00
Raymond Hill
7343035a17
New revision for dev build 2024-07-05 10:34:26 -04:00
Raymond Hill
efc16c7069
Update changelog 2024-07-05 10:34:02 -04:00
Raymond Hill
9569969b55
Fix distance calculation in picker
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3279
2024-07-05 10:20:33 -04:00
Raymond Hill
8c5918dec7
Prevent resizing of title bar in popup menu
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3284
2024-07-05 10:11:27 -04:00
Raymond Hill
1d7feb83a2
[firefox] Add entry for 128px icon
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3285
2024-07-05 10:01:28 -04:00
Raymond Hill
c154aaa69c
Fix bad serialization of Date objects
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3283
2024-06-28 13:40:19 -04:00
Raymond Hill
57ed293760
[mv3] Fix bad test re. managed storage 2024-06-28 13:39:38 -04:00
Raymond Hill
896737d098
Fix race condition when loading redirect/scriptlet resources
Related feedback:
https://github.com/uBlockOrigin/uAssets/issues/23806#issuecomment-2190491767
2024-06-26 11:00:50 -04:00
Raymond Hill
6b349ca0ef
Make Firefox dev build auto-update 2024-06-25 10:05:54 -04:00
Raymond Hill
8447fc5d17
New revision for dev build 2024-06-25 09:59:07 -04:00
Raymond Hill
8eb3b19c69
Improve logging in prevent-addEventListener scriptlet
Related feedback:
https://github.com/uBlockOrigin/uAssets/discussions/17907#discussioncomment-9871079
2024-06-25 09:08:46 -04:00
Raymond Hill
88065d0091
[mv3] Bring procdural cosmetic filtering code up to date with uBO 2024-06-22 11:09:57 -04:00
Raymond Hill
5c69159b36
[mv3] Inject procedural cosmetic filtering script earlier
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/139
2024-06-22 11:06:19 -04:00
Raymond Hill
5dd59889b9
Make Firefox dev build auto-update 2024-06-20 21:06:09 -04:00
Raymond Hill
533c5c7c73
New revision for dev build 2024-06-20 20:59:21 -04:00
Raymond Hill
3aaff8604d
Merge branch 'scripthunter' 2024-06-20 09:35:24 -04:00
Raymond Hill
47b985a056
Fix :matches-prop() operator when no value provided 2024-06-20 09:21:43 -04:00
scripthunter7
83aee4a516 Update subscription URL for hufilter 2024-06-20 10:48:09 +02:00
Raymond Hill
aaceabeba1
Make Firefox dev build auto-update 2024-06-19 19:31:19 -04:00
Raymond Hill
459060f564
New revision for dev build 2024-06-19 19:22:28 -04:00
Raymond Hill
ad3bdba7c9
Update changelog 2024-06-19 19:22:04 -04:00
Raymond Hill
aca7674bac
Add :matches-prop() pseudo CSS operator
`subject:matches-prop(arg)`

Description: Allows to select an element by a property name (or chain of
properties), and optionally the property value.

Chainable: Yes.

`subject`: Can be a plain CSS selector, or a procedural cosmetic filter.

`arg`: A declaration in the form `chain=value`, where `chain` is a dot-
  separated string for the target property, and `value` is the optional
  property value to match. `value` can be literal text or literal regular
  expression. When no `value` is declared, the operator only tests for
  the presence of the target property

Example:

  example.org##div:matches-prop(imanad)
  example.org##img:matches-prop(naturalWidth=160)
2024-06-19 19:06:53 -04:00