您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Allow stylus to target elements in shadow-root
当前为
This userscript allows users of Stylus to style shadow-root elements that are out of reach of global stylesheets.
Any style rule whose selector includes :host or :host-context will be injected into the shadow-root nodes.
By default the userscript is not executed on any website. You'll have to edit the style settings (eg. in tampermonkey) open the userstyle, go to the style's "settings" tab and add the mask (don't forget the *) of the website(s) you want to run it on.
To test:
https://web.
archive.org/web/*
to "user matches"[https://web.archive.org/web/2/]
appended with the full url of a webpage.https://web.archive.org/web/*and define this style:
:host * {
outline: 1px solid red !important;
}