作者a0919610611 (傅立歐轉換)
看板Browsers
標題Re: [問題] NoSquint Plus有後繼者了嗎
時間Thu Jun 29 22:09:36 2023
用回文好了 可以貼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
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 73.106.249.175 (美國)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Browsers/M.1688047778.A.DBA.html
1F:推 dxzy: Thx a lot 06/29 22:29