Commit Graph

12393 Commits

Author SHA1 Message Date
Raymond Hill 0cc8b7864f
Ignore transient py stuff 2024-08-01 10:37:22 -04:00
Raymond Hill a0de43aba9
Import translation work from https://crowdin.com/project/ublock 2024-07-29 16:05:15 -04:00
Raymond Hill 30e0d01656
New revision for stable release 2024-07-29 15:50:38 -04:00
Raymond Hill c7b54af0a2
[mv3] Add minimal ability to diagnose ruleset issue
A new icon has been added to the popup panel, to open a popup
window with a terse list of DNR events for the current tab, in
reverse chronological order (most recent DNR event appears at
the top).

The new ability is available only when the extension is sideloaded,
as per `declarativeNetRequestFeedback` documentation. Ref:
https://developer.chrome.com/docs/extensions/reference/api/declarativeNetRequest#event-onRuleMatchedDebug

Purposefully minimal, so as to have something rather than nothing
when having to diagnose filtering issue with the DNR API. Example:
https://github.com/uBlockOrigin/uBOL-home/issues/156

The content of the popup window does not dynamically update, force
a refresh (F5) to get the most recent DNR events. This might be
improved in the future.

The DNR event buffer is not persisted, so the buffer is empty when
service worker is restarted. This might be improved in the future
by using session storage API.

There is no output filtering ability in this first draft. This
might be improved in the future.

DNR rules are reported. The filter from which a DNR rule
originates is not reported. Given that the rulesets are optimized
after conversion from original filter lists to reduce the DNR rule
count, this is unlikely to ever be possible.
2024-07-29 14:54:46 -04:00
Raymond Hill ec633887dd
Improve `abort-on-stack-trace` scriptlet
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3314
2024-07-28 10:44:17 -04:00
Fanboynz 76246f2c59
Add dismissed to set-cookie (#3921) 2024-07-27 08:26:59 -04:00
Raymond Hill 2dd591c1d7
Update README.md 2024-07-24 12:43:57 -04:00
Raymond Hill 2a675785bc
Update README.md 2024-07-24 12:43:00 -04:00
Raymond Hill ac34aa975b
Make Firefox dev build auto-update 2024-07-23 09:40:31 -04:00
Raymond Hill b7676e8f9f
New revision for release candidate 2024-07-23 09:23:31 -04:00
Raymond Hill 45a1d61c87
Update changelog 2024-07-23 09:23:14 -04:00
Raymond Hill 84be9cde6d
Improve `href-sanitizer` scriptlet
Support ability to recursively unwrap destination URL. Example:

    ...##+js(href-sanitizer, a.clickTracker, ?r?u)

Related discussion:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/775#discussioncomment-10120835
2024-07-23 09:21:17 -04:00
Raymond Hill a54e3c5e39
Make Firefox dev build auto-update 2024-07-22 10:41:52 -04:00
Raymond Hill 5526b035bd
New revision for release candidate 2024-07-22 10:32:45 -04:00
Raymond Hill bf75dc2f90
Code review of `trusted-replace-node-text` scriptlet 2024-07-22 09:51:40 -04:00
Raymond Hill ec568b614d
Make Firefox dev build auto-update 2024-07-21 08:45:51 -04:00
Raymond Hill fa2a0a9549
New revision for release candidate 2024-07-21 08:36:10 -04:00
Raymond Hill 14d90418b8
Fix regression in `trusted-replace-node-text` scriptlet
Related commit:
8afd9e233d
2024-07-21 08:34:18 -04:00
Raymond Hill f1c45a2800
Make Firefox dev build auto-update 2024-07-20 09:50:55 -04:00
Raymond Hill c36f7822ef
New revision for release candidate 2024-07-20 09:44:22 -04:00
Raymond Hill 62f87b0ea8
Rename parameters as per earlier commit
Related commit:
8afd9e233d
2024-07-20 09:43:08 -04:00
Raymond Hill db33eb9f41
Make Firefox dev build auto-update 2024-07-20 09:06:03 -04:00
Raymond Hill 86d751b2ec
New revision for release candidate 2024-07-20 08:59:16 -04:00
Raymond Hill b871b00337
Update changelog 2024-07-20 08:58:56 -04:00
Raymond Hill 8afd9e233d
Improve `trusted-replace-node-text` scriptlet
Related discussion:
https://github.com/uBlockOrigin/uAssets/discussions/23769#discussioncomment-10102276
2024-07-20 08:57:11 -04:00
Fanboynz f2c4328a2e
Switch to updated Icelandic ABP List (#3920) 2024-07-19 08:01:38 -04:00
Raymond Hill 152983f031
Make Firefox dev build auto-update 2024-07-18 09:19:15 -04:00
Raymond Hill 59d9bbf0b2
New revision for release candidate 2024-07-17 11:06:48 -04:00
Raymond Hill b9ab889be5
Update changelog 2024-07-17 11:06:31 -04:00
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