Commit Graph

12565 Commits

Author SHA1 Message Date
Raymond Hill 856dc419b5
Make Firefox dev build auto-update 2024-09-02 19:55:53 -04:00
Raymond Hill 4310732b98
New revision for dev build 2024-09-02 19:49:49 -04:00
Raymond Hill 969d3cb40b
Update changelog 2024-09-02 19:49:31 -04:00
Raymond Hill b7ed3b45ed
Add ability to directly evaluate static network filtering engine
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3362

There used to be a way to test URL against the network filtering engine,
but this was removed in a distant past during refactoring.

The ability has been brought back through uBO's own developer tools,
accessible through the _More_ button in the _Support_ pane in the
dashboard.

To query the static network filtering engine, enter the following
in the text editor:

snfe?url-to-test [type] [url-of-context]

`snfe?` is a prompt indicating the intent to query the static network
filtering engine.

At a minimum there must be a URL to test.

Optionally the type of the resource to match, default to `xhr` if
none specified. Also optionally, the context from within which the
request is made. Example:

Enter:
snfe?https://www.google-analytics.com/analytics.js

Result:
url: https://www.google-analytics.com/analytics.js
blocked: ||google-analytics.com^

Enter:
snfe?https://www.google-analytics.com/analytics.js script

Result:
url: https://www.google-analytics.com/analytics.js
type: script
blocked: ||google-analytics.com^
modified: ||google-analytics.com/analytics.js$script,redirect-rule=google-analytics_analytics.js:5

Enter:
snfe?https://example.com/

Result:
url: https://example.com/
not blocked

Enter:
snfe?https://example.com/ ping

Result:
url: https://example.com/
type: ping
blocked: *$ping,3p
2024-09-02 19:32:56 -04:00
Raymond Hill eef99e9db6
Make Firefox dev build auto-update 2024-08-31 13:11:29 -04:00
Raymond Hill 73e0cc7163
New revision for dev build 2024-08-31 12:48:12 -04:00
Raymond Hill 17183f7de5
Update changelog 2024-08-31 12:47:38 -04:00
Raymond Hill f552f655cb
Fix `prevent-window-open` for when logger is open
Related discussion:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/906
2024-08-31 12:36:20 -04:00
Raymond Hill 66cf6f0a14
Make Firefox dev build auto-update 2024-08-30 10:56:51 -04:00
Raymond Hill 11e0f08c9a
New revision for dev build 2024-08-30 10:28:59 -04:00
Raymond Hill 63166ca882
Update changelog 2024-08-30 10:28:23 -04:00
Raymond Hill 7f11d6216e
Improve `prevent-window-open` scriptlet
As discussed with filter list maintainers.
2024-08-30 10:25:39 -04:00
Raymond Hill ae5dc6299e
Improve `validate-constant` scriptlet helper
Add support for `json:`-prefixed values.
2024-08-29 13:47:48 -04:00
Raymond Hill b1f28b4ce0
Make Firefox dev build auto-update 2024-08-27 13:01:04 -04:00
Raymond Hill d24bf002e2
New revision for dev build 2024-08-27 12:54:35 -04:00
Raymond Hill 1e14a2176b
Update changelog 2024-08-27 12:54:19 -04:00
Raymond Hill 0dcb985601
Improve `trusted-replace-outbound-text` scriptlet
When the replacement starts with `json:`, it will be first
decoded using JSON.parse(). Example:

example.com##+js(trusted-replace-outbound-text, somefn, json:"ok")

The doublequotes are required since this is what JSON.parse()
expects as a valid JSON string.
2024-08-27 12:49:35 -04:00
Raymond Hill f5f042a6f0
Make Firefox dev build auto-update 2024-08-26 14:50:41 -04:00
Raymond Hill f306479f5a
New revision for dev build 2024-08-26 14:30:45 -04:00
Raymond Hill bada70af83
Update changelog 2024-08-26 14:30:27 -04:00
Raymond Hill 3a249f395c
Improve `prevent-xhr` scriptlet
As per filter list maintainers feedback.
2024-08-26 14:28:53 -04:00
Raymond Hill 26b2ab8bb5
Make Firefox dev build auto-update 2024-08-24 12:36:21 -04:00
Raymond Hill 6991d9fdd7
New revision for dev build 2024-08-24 12:14:27 -04:00
Raymond Hill 794e6ca0b5
Update changelog 2024-08-24 12:14:07 -04:00
Raymond Hill 59a9a43a83
Add noop resources for redirect purpose
Related discussion:
https://github.com/uBlockOrigin/uAssets/issues/25014#issuecomment-2307982886
2024-08-24 12:11:35 -04:00
Raymond Hill 0a048eb64e
Address eslint warnings 2024-08-22 12:36:31 -04:00
Raymond Hill 3360d3e3e1
[mv3] Remove unused file 2024-08-21 11:52:39 -04:00
Raymond Hill 09fef54959
[mv3] Ensure `redirect` has priority over`block`
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/187#issuecomment-2301450418
2024-08-21 10:56:18 -04:00
Raymond Hill 520f81fcca
[mv3] Fix injection of scriptlets into embedded contexts 2024-08-20 08:18:03 -04:00
Raymond Hill 24756e8340
Update changelog 2024-08-19 17:56:54 -04:00
Raymond Hill 378be82dec
Make Firefox dev build auto-update 2024-08-19 15:15:45 -04:00
Raymond Hill 40c3d4bcca
New revision for dev build 2024-08-19 15:01:37 -04:00
Raymond Hill 5f14716954
Update changelog 2024-08-19 15:01:18 -04:00
Raymond Hill 79e10323ad
Use helper function to lookup safe cookie values
This helper function is now used by `set-cookie` and
`set-local-storage-item` scriptlets, so changes in the
helper function will benefit both scriptlets.
2024-08-19 14:56:15 -04:00
Fanboynz 3e2171f550
Add checked/unchecked to set-cookie (#3923) 2024-08-19 14:40:33 -04:00
Raymond Hill 34047daa06
Import translation work from https://crowdin.com/project/ublock 2024-08-19 12:02:00 -04:00
Fanboynz 41c2258f91
Add allowed/denied to set-local-storage (#3922) 2024-08-18 09:14:44 -04:00
Raymond Hill 5287f6e029
Code review of scriptlet helper 2024-08-18 09:12:54 -04:00
Raymond Hill 2c60b331e3
Make Firefox dev build auto-update 2024-08-17 12:50:45 -04:00
Raymond Hill a6cc75109d
New revision for dev build 2024-08-17 12:32:51 -04:00
Raymond Hill cb452bc21c
Update changelog 2024-08-17 12:32:31 -04:00
Raymond Hill 6891037758
[mv3] Fix exception filters not overriding redirect filters
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/185
2024-08-17 11:00:42 -04:00
Raymond Hill e73eb23c90
[mv3] Don't filter out tabless requests in "logger" 2024-08-17 10:42:17 -04:00
Raymond Hill 1cb660b94e
Fix plain exceptions not overriding block filters using `header=` option
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3347
2024-08-17 10:11:18 -04:00
Raymond Hill 8de454ccca
Make Firefox dev build auto-update 2024-08-16 12:11:18 -04:00
Raymond Hill 4520a8e611
New revision for dev build 2024-08-16 11:56:20 -04:00
Raymond Hill cf5e781c91
Update changelog 2024-08-16 11:55:53 -04:00
Raymond Hill 56dfdd2568
Improve various scriptlets
Specifically, improve proxying of native methods.
2024-08-16 11:49:16 -04:00
Raymond Hill 9ced01ebf7
Add publish script for stable version on Chromium 2024-08-12 14:24:10 -04:00
Raymond Hill 415f9b8743
Make Firefox dev build auto-update 2024-08-12 14:20:54 -04:00