您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
On topic pages, show "X unread comments (Y total)"; on comment pages, highlight unread comments. Local storage only -- does not work across multiple computers.
this is by @xiaoxiaoflood on github. posting here for archival reasons!!
change these colors for different highlight color, i chose dark blue as i have a black reddit theme:
get_color: function (comment_age, highlighting_since) {
let time_diff = 1 - comment_age / highlighting_since,
color_newer = tinycolor('hsl(214, 16, 9').toHsl(), // dark blue
color_older = tinycolor('hsl(214, 16, 9').toHsl() // dark blue (this color can be lighter or darker, i prefer the same)
;
add this require link at your own discretion for this script to work (Greasy Fork镜像 doesnt have it approved for some reason):
// @require https://raw.githubusercontent.com/bgrins/TinyColor/master/tinycolor.js
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址