Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new scriptlet — 'prevent-canvas' #451

Closed
billkewl opened this issue Sep 9, 2024 · 0 comments
Closed

Add new scriptlet — 'prevent-canvas' #451

billkewl opened this issue Sep 9, 2024 · 0 comments

Comments

@billkewl
Copy link

billkewl commented Sep 9, 2024

It would be nice to have this scriptlet to prevent websites from fingerprinting users, especially on mobile devices where it's nearly impossible for users to install userscripts.
uBO added this scriptlet nearly a year ago
https://github.com/gorhill/uBlock/wiki/Resources-Library#prevent-canvasjs-
Hope Adguard can add this as well in the near future

It'd also be great if alphanumeric, underscore, period and dash in scriptlet's names and arguments (except regex obviously) don't need to be quoted similar to uBO. I didn't quote all names and arguments at first and it took a while for me to realize everything needs to be quoted in Adguard.
Speaking of which, could we have syntax error highlighted in user rules filter (in Adguard for Mac and Windows) so that we can easily pinpoint the rules that are not working.

Thanks.

@adguard-bot adguard-bot assigned slavaleleka and unassigned maximtop Sep 9, 2024
@adguard-bot adguard-bot changed the title Add new scriptlet 'prevent-canvas' Add new scriptlet — 'prevent-canvas' Sep 25, 2024
@slavaleleka slavaleleka added the Feature request Adding new feature label Sep 25, 2024
adguard pushed a commit that referenced this issue Sep 27, 2024
Squashed commit of the following:

commit 4f1f97e
Author: Adam Wróblewski <adam@adguard.com>
Date:   Fri Sep 27 10:19:05 2024 +0200

    Remove unnecessary line

commit 9486855
Author: Adam Wróblewski <adam@adguard.com>
Date:   Fri Sep 27 09:14:37 2024 +0200

    Add prevent-canvas to compatibility-table.json

commit a935c1e
Merge: 6ccf2cb 1838d7b
Author: Adam Wróblewski <adam@adguard.com>
Date:   Thu Sep 26 09:38:52 2024 +0200

    Merge branch 'master' into feature/AG-35842

commit 6ccf2cb
Author: Adam Wróblewski <adam@adguard.com>
Date:   Thu Sep 26 09:36:41 2024 +0200

    Fix description

commit 84e27b1
Author: Adam Wróblewski <adam@adguard.com>
Date:   Thu Sep 26 09:32:43 2024 +0200

    Add types

commit 7966487
Author: Adam Wróblewski <adam@adguard.com>
Date:   Wed Sep 25 14:20:34 2024 +0200

    Add prevent-canvas scriptlet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants