您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Highlight "current" page in navigation bar at bottom of posts (and mute other page numbers).
// ==UserScript== // @name Kbin Better Page Navigation Bar // @namespace http://thedarnedestthing.com // @description Highlight "current" page in navigation bar at bottom of posts (and mute other page numbers). // @author sdothum // @version 0.2.2 // @grant GM_addStyle // @match https://kbin.social/* // @match https://fedia.io/* // @license MIT // ==/UserScript== (function() { var css = ` .pagination .pagination__item--current-page { color: var(--kbin-section-link-hover-color); font-weight: 900; } .pagination__item:not(.pagination__item--current-page) { color: var(--kbin-text-muted-color); opacity: 0.70; font-weight: 300; } `; if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(node); } })();