uBlock/assets
Raymond Hill 95b0ce5e3a
Add `trusted-override-element-method` scriptlet
@description
Override the behavior of a method on matching elements.

@param methodPath
The method which calls must be intercepted.

@param [selector]
A CSS selector which the target element must match. If not specified,
the override will occur for all elements.

@param [disposition]
How the override should be handled. If not specified, the overridden call
will be equivalent to an empty function. If set to `throw`, an exception
will be thrown. Any other value will be validated and returned as a
supported safe constant.

@example
..##+js(trusted-override-element-method, HTMLAnchorElement.prototype.click, a[target="_blank"][style])
2024-10-05 08:35:43 -04:00
..
resources Add `trusted-override-element-method` scriptlet 2024-10-05 08:35:43 -04:00
assets.dev.json Fix AdGuard Knowledge Base URLs 2024-10-04 11:27:24 +02:00
assets.json Fix AdGuard Knowledge Base URLs 2024-10-04 11:27:24 +02:00