Style shadowDOM

Allow stylus to target elements in shadow-root

< 脚本 Style shadowDOM 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2025-08-22

Works great so I can remove some of Reddit's UI buttons!

However Stylus 1.5.51 must be used for it to work on firefox (also I found the v1.5.42 version for chrome which worked on chrome). Otherwise on the latest version of Stylus ":host * { outline: 1px solid red !important; }" shows zero red outlines.

It seems when stylus went to v2.0.6, it broke the script as stylus's source code underwent a full refactor "To allow conditional compilation into either MV2 or MV3".

Achernar作者
§
发布于:2025-09-13

Sorry for the delay. Didn't pay attention to the mail notifications.

I'll look at it. I'm still using an older version of stylus on this computer, and they probably have updated the markings on their style elements.

发布留言

登录以发布留言。