推 dxzy: Thx a lot 06/29 22:29
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
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 73.106.249.175 (美國)
※ 文章網址: https://www.ptt.cc/bbs/Browsers/M.1688047778.A.DBA.html
用回文好了 可以貼code
我也有類似需求,但我是用 Stylus (