AdguardTeam / Scriptlets

AdGuard scriptlets library
GNU General Public License v3.0
138 stars 27 forks source link

Add new scriptlet — 'trusted-add-class' #430

Open Alex-302 opened 1 month ago

Alex-302 commented 1 month ago

The trusted-add-class would provide an opportunity to add any class name to an element. For example, sometimes it happens that a script checks the body class list.

example.com#%#//scriptlet('trusted-add-class', selector, classNames[, applying])

where

Can be used on:

Alex-302 commented 1 month ago

https://github.com/AdguardTeam/Scriptlets/issues/431