Commit Graph

12723 Commits

Author SHA1 Message Date
Raymond Hill 41616df866
Improve `trusted-suppress-native-method` scriptlet
Add `debug` as disposition option: if the `how` parameter is `debug`,
the scriptlet will trigger a `debugger` statement and the target
method won't be suppressed. Useful to find out how the method is
being called by page code. To be used for investigation purpose only.
2024-11-08 08:32:19 -05:00
Raymond Hill fd60f54a5f
Make Firefox dev build auto-update 2024-11-07 12:15:43 -05:00
Raymond Hill 34eed9abef
Update changelog 2024-11-07 12:09:41 -05:00
Raymond Hill e854c4752b
New revision for dev build 2024-11-07 11:59:57 -05:00
Sander Lepik f90ccb7c62
Move Estonian list away from .php extension (#3926) 2024-11-07 10:27:26 -05:00
Raymond Hill e613282698
Improve `set-cookie` scriptlet
Allow negative integer as valid value.

Related issue:
https://github.com/gorhill/uBlock/pull/3927

Additionally, move cookie-related scriptlets/helpers into its own
source code file.
2024-11-07 10:23:34 -05:00
Raymond Hill 652f178787
New revision for stable release 2024-11-05 09:27:11 -05:00
Raymond Hill e164250fea
Comment 2024-11-05 09:26:23 -05:00
Raymond Hill 54ed02e302
Import translation work from https://crowdin.com/project/ublock 2024-11-05 09:25:01 -05:00
Raymond Hill 12817eee57
Squashed commit of the following:
commit a4d319437a
Author: daylight <starcrush@monemail.com>
Date:   Fri Nov 1 21:01:06 2024 +0300

    Delete .gitmodules

commit 57b7d98148
Author: daylight <starcrush@monemail.com>
Date:   Fri Nov 1 17:47:50 2024 +0300

    Delete dist/mv3/log.txt

commit c936a72bb3
Author: daylight <starcrush@monemail.com>
Date:   Fri Nov 1 17:47:16 2024 +0300

    Update dist/README.md

commit b5aaec47b3
Author: daylight <starcrush@monemail.com>
Date:   Fri Nov 1 17:46:53 2024 +0300

    Update release head

commit be2da15508
Author: daylight <starcrush@monemail.com>
Date:   Fri Nov 1 17:46:37 2024 +0300

    Update links in readme

commit 3019dfc37a
Author: daylight <starcrush@monemail.com>
Date:   Fri Nov 1 17:46:16 2024 +0300

    Update contributing guide

commit 3b9333dbd8
Author: daylight <starcrush@monemail.com>
Date:   Fri Nov 1 17:45:53 2024 +0300

    Update CI

commit 2831a0d0fd
Author: daylight <starcrush@monemail.com>
Date:   Fri Nov 1 17:45:31 2024 +0300

    Update config
Revert "Update CI"

This reverts commit 3b9333dbd8.
2024-11-04 10:12:25 -05:00
daylight a4d319437a
Delete .gitmodules 2024-11-01 16:33:23 -04:00
daylight 57b7d98148
Delete dist/mv3/log.txt 2024-11-01 16:33:23 -04:00
daylight c936a72bb3
Update dist/README.md 2024-11-01 16:33:23 -04:00
daylight b5aaec47b3
Update release head 2024-11-01 16:33:23 -04:00
daylight be2da15508
Update links in readme 2024-11-01 16:33:23 -04:00
daylight 3019dfc37a
Update contributing guide 2024-11-01 16:33:22 -04:00
daylight 3b9333dbd8
Update CI 2024-11-01 16:33:22 -04:00
daylight 2831a0d0fd
Update config 2024-11-01 16:33:22 -04:00
Raymond Hill 121ac712f7
Make Firefox dev build auto-update 2024-11-01 11:41:35 -04:00
Raymond Hill 67310b0fb6
New revision for stable release candidate 2024-11-01 11:36:43 -04:00
Raymond Hill 331a82775f
Update changelog 2024-11-01 11:36:08 -04:00
Raymond Hill 8884f259c1
Improve `prevent-refresh` scriptlet
Related discussion:
https://github.com/uBlockOrigin/uAssets/issues/25859#issuecomment-2449623891
2024-11-01 11:33:34 -04:00
Raymond Hill eab0fd4e57
Make Firefox dev build auto-update 2024-10-31 12:11:01 -04:00
Raymond Hill d401527e83
Import translation work from https://crowdin.com/project/ublock 2024-10-31 11:28:06 -04:00
Raymond Hill d70c602575
New revision for stable release candidate 2024-10-31 11:25:18 -04:00
Raymond Hill 34771d02d1
Fine tune visuals in document-blocked page
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3206#issuecomment-2449415643
2024-10-31 11:18:42 -04:00
Raymond Hill fd3624f541
Make Firefox dev build auto-update 2024-10-30 19:16:41 -04:00
Raymond Hill eb37cd870d
New revision for stable release candidate 2024-10-30 19:07:24 -04:00
Raymond Hill a5d7e68ebe
Update changelog 2024-10-30 19:06:57 -04:00
Raymond Hill f645e8f0d2
Improve `googlesyndication_adsbygoogle.js` scriptlet
Related discussion:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/321#discussioncomment-11000356
2024-10-30 09:12:58 -04:00
Raymond Hill a793d693b5
Make Firefox dev build auto-update 2024-10-28 14:26:05 -04:00
Raymond Hill 1264284a3c
New revision for stable release candidate 2024-10-28 14:17:07 -04:00
Raymond Hill c07db7553d
Fix `urlskip=` with `-blocked` directive for blocked requests
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3206#issuecomment-2441470631
2024-10-28 14:13:50 -04:00
Raymond Hill ac4506091e
Import translation work from https://crowdin.com/project/ublock 2024-10-28 12:04:34 -04:00
Raymond Hill 672f2f3769
Make Firefox dev build auto-update 2024-10-27 15:06:13 -04:00
Raymond Hill 0face5e362
New revision for stable release candidate 2024-10-27 14:54:03 -04:00
Raymond Hill c90eab5e10
Update changelog 2024-10-27 14:53:33 -04:00
Raymond Hill 60a1dea0f6
Import translation work from https://crowdin.com/project/ublock 2024-10-27 14:49:14 -04:00
Raymond Hill 9b3e94b23f
Import translation work from https://crowdin.com/project/ 2024-10-27 14:46:25 -04:00
Raymond Hill 20b54185fa
Offer ability to skip redirects in strict-blocked page
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/issues/3206#issuecomment-2439639215

If a strict-blocked page matches a `urlskip=` filter, the page
will show the user the destination URL as a result of applying the
`urlskip` filter should they choose to proceed with the
navigation.
2024-10-27 14:24:08 -04:00
Raymond Hill 6aa9391c8d
Make Firefox dev build auto-update 2024-10-26 14:31:33 -04:00
Raymond Hill 87716cf781
New revision for stable release candidate 2024-10-26 14:04:55 -04:00
Raymond Hill 4cb92102c7
Update changelog 2024-10-26 14:03:58 -04:00
Raymond Hill d04dc4c767
Add `-blocked` directive to `urlskip=` option
Potentially breaking change:

`urlskip=` option will no longer apply by default to blocked network
requests, only network requests which are not blocked can be skipped
through a `urlskip=` filter.

The new `urlskip=` directive `-blocked` can be used to explicitly
allow a `urlskip=` filter to also apply to blocked network requests.

Example: given the filter `||example.com^`, the filter:

  ||example.com/path/to/tracker$urlskip=?url

Will not prevent strict-blocking when navigating to:

  https://example.com/path/to/tracker?url=https://example.org/

However, the filter:

  ||example.com/path/to/tracker$urlskip=-blocked ?url

Will cause the strict-blocking to be ignored and allow navigation
to proceed to the URL extracted as a result of applying the `urlskip=`
filter:

  https://example.org/

Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/issues/3206#issuecomment-2439627386
2024-10-26 12:56:52 -04:00
Raymond Hill 50785ea38b
Make Firefox dev build auto-update 2024-10-25 19:31:28 -04:00
Raymond Hill d49062db08
New revision for dev build 2024-10-25 19:25:57 -04:00
Raymond Hill 033314ed34
Update changelog 2024-10-25 19:25:44 -04:00
Raymond Hill 11ca4a3923
Add `trusted-set-attr` scriptlet
@trustedScriptlet trusted-set-attr

@description
Sets the specified attribute on the specified elements. This scriptlet runs
once when the page loads then afterward on DOM mutations.

Reference: https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-trusted-scriptlets.md#-%EF%B8%8F-trusted-set-attr

@param selector
A CSS selector for the elements to target.

@param attr
The name of the attribute to modify.

@param value
The new value of the attribute. Since the scriptlet requires a trusted
source, the value can be anything.

=====

Additionally, start to move scriptlets into their own source files
for easier maintenance and code review.
2024-10-25 19:12:08 -04:00
Raymond Hill 0851015d7d
Make Firefox dev build auto-update 2024-10-22 20:11:11 -04:00
Raymond Hill c9ebe07d39
New revision for dev build 2024-10-22 19:57:45 -04:00