mirror of https://github.com/gorhill/uBlock.git
d405460584
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2618 Usage: example.com##+js(spoof-css, selector, property-name, property-value, ...) - selector: a valid CSS selector which matches the elements for which the spoofing must apply. - property-name: a CSS property name (can be dashed- or camel-cased) - property-value: the value to return regardless of the currently computed value. There can be any number of property-name/property-value pairs, all separated by commas. A special property-name/property-value pair `debug/1` can be used to force the browser to break when `getComputedStyle()` or `getBoundingClientrect()` is called, useful to help pinpoint usage of those calls in the page's source code: example.com##+js(spoof-css, .ad, debug, 1) |
||
---|---|---|
.. | ||
scriptlets.js |