Stylus Shadow DOM Support

Make Stylus styles also be applied to Shadow DOM elements.

< 腳本Stylus Shadow DOM Support的回應

提問/評論

§
發表於:2025-02-06

Since the update 2.3.10 of Stylus on Firefox (135.0), the script doesn't work anymore. This version is the same on the Chrome web store since few days

It seems that Stylus uses classes instead of ids for its CSS injections

In the script, line 23, replacing [id^="stylus-"] by [class="stylus"] makes the script work again

Could you update the script, please?

Thanks

jcunews作者
§
發表於:2025-02-08

Script has been updated.

發表回覆

登入以回復