You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is not present after disabling uBO in the browser.
I checked the documentation to understand that the issue I am reporting is not normal behavior.
I tried to reproduce the issue when...
uBO is the only extension.
uBO uses default lists and settings.
using a new, unmodified browser profile.
Description
I checked some AdGuard suggestions how create scriptlet filters and a few was marked as unrecognized.
! not recognized as nano-setInterval-booster.js (nano-sib.js)example.org#%#//scriptlet('adjust-setInterval')
example.org#%#//scriptlet('adjust-setInterval', 'example')
example.org#%#//scriptlet('adjust-setInterval', 'example', '400')
example.org#%#//scriptlet('adjust-setInterval', 'example', '', '2')
example.org#%#//scriptlet('adjust-setInterval', '', '2000', '0.02')
example.org#%#//scriptlet('adjust-setInterval', '', '2000', '0.001')
example.org#%#//scriptlet('adjust-setInterval', '', '*', '0.02')
! not recognized as nano-setTimeout-booster.js (nano-stb.js)example.org#%#//scriptlet('adjust-setTimeout')
example.org#%#//scriptlet('adjust-setTimeout', 'example')
example.org#%#//scriptlet('adjust-setTimeout', 'example', '400')
example.org#%#//scriptlet('adjust-setTimeout', 'example', '', '2')
example.org#%#//scriptlet('adjust-setTimeout', '', '2000', '0.02')
example.org#%#//scriptlet('adjust-setTimeout', '', '2000', '0.001')
example.org#%#//scriptlet('adjust-setTimeout', 'test', '*')
! not recognized as window-close-if.js (as they both share the same task and parameter handling)example.org#%#//scriptlet('close-window')
example.org#%#//scriptlet('close-window', '/example-page.html')
! not recognized as refresh-defuser.jsexample.org#%#//scriptlet('prevent-refresh')
example.com#%#//scriptlet('prevent-refresh', '3')
! AdGuard recommends now numbers without citation (last parameter is marked as invalid by uBo and GitHub linter)example.com#%#//scriptlet('prevent-refresh', 3)
! But this may be an error in their 'wiki'.
I'm skipping the redirection surrogates check for now, because there I find it more difficult to detect what is no longer supported as a surrogate.
A specific URL where the issue occurs.
https://example.com/ https://example.org/
Steps to Reproduce
copy demo filters
paste into My filters tab/panel
Tada 🎉
Expected behavior
Consider adding more names as an "alias", except close-window?
Actual behavior
All demo filters may not working at all now.
uBO version
1.52.0
Browser name and version
Firefox 117.0.1
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered:
* Use AG version of urlhaus list
Related discussion:
uBlockOrigin/uAssets#7636 (comment)
* Remove unmaintained urlhaus PUP filter list
Related issue:
uBlockOrigin/uBlock-issues#2844
* Add scriptlet aliases for compatibility with AdGuard lists
Related issue:
uBlockOrigin/uBlock-issues#2828
* New revision for dev build
* Make Firefox dev build auto-update
* 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
---------
Co-authored-by: Raymond Hill <rhill@raymondhill.net>
Prerequisites
I tried to reproduce the issue when...
Description
I checked some AdGuard suggestions how create scriptlet filters and a few was marked as unrecognized.
I'm skipping the redirection surrogates check for now, because there I find it more difficult to detect what is no longer supported as a surrogate.
A specific URL where the issue occurs.
https://example.com/
https://example.org/
Steps to Reproduce
Expected behavior
Consider adding more names as an "alias", except
close-window
?Actual behavior
All demo filters may not working at all now.
uBO version
1.52.0
Browser name and version
Firefox 117.0.1
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: