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 scriptlets — 'trusted-set-attr' #431

Closed
scripthunter7 opened this issue May 30, 2024 · 1 comment
Closed

Add new scriptlets — 'trusted-set-attr' #431

scripthunter7 opened this issue May 30, 2024 · 1 comment

Comments

@scripthunter7
Copy link
Member

scripthunter7 commented May 30, 2024

The trusted-set-attr scriptlet could change any attribute of any element:

example.com#%#//scriptlet('trusted-set-attr', selector, attr[, value])

where value can be anything

@slavaleleka slavaleleka changed the title Add scriptlets trusted-set-attr and trusted-add-class Add new scriptlets — 'trusted-set-attr' May 30, 2024
@slavaleleka slavaleleka added the Feature request Adding new feature label May 30, 2024
@AdamWr
Copy link
Member

AdamWr commented May 30, 2024

Maybe I misunderstand something, but don't we have already this scriptlet? - https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-trusted-scriptlets.md#-%EF%B8%8F-trusted-set-attr

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

5 participants