你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/541149-inject-stylus-into-shadowroots/versions,源站連結 點此以跳轉。
inject styles of stylus-addon in shadowRoot
这些是此脚本变更过代码的版本。 显示所有版本。
Fix not removing styles
feat(core): expand compatibility for multiple style extensions
This update significantly enhances the script to support a wider range of user style extensions and injection methods.
Broader Extension Support: The CSS selector in syncStyles is expanded to find style tags from Stylish, Stylebot, Magic CSS, xStyle, and more, not just .stylus.
syncStyles
.stylus
document.adoptedStyleSheets Syncing: Adds support for extensions (like modern Stylus) that inject styles directly via adoptedStyleSheets.
document.adoptedStyleSheets
adoptedStyleSheets
Document.prototype.adoptedStyleSheets
syncAdoptedStyles
CSSStyleSheet
sheetInDoc