Re: [問題] NoSquint Plus有後繼者了嗎

作者: a0919610611 (熾)   2023-06-29 22:09:36
用回文好了 可以貼code
我也有類似需求,但我是用 Stylus (https://add0n.com/stylus.html)
來寫UserCSS,擴展性更高。
還可以選擇要highlight的部份,前提你要會寫CSS selector,大部分都不複雜。
例如已下的code是用來highlight 點過的 youtube video.
@-moz-document domain("www.youtube.com") {
a:visited yt-formatted-string#video-title {
color: red !important;
}
a:visited#video-title yt-formatted-string {
color: red !important;
}
a:visited span#video-title {
color: red !important;
}
}
效果:
https://imgur.com/a/c5lf2S9
作者: dxzy (Dunning–Kruger effect)   2023-06-29 22:29:00
Thx a lot

Links booklink

Contact Us: admin [ a t ] ucptt.com