您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This is a port of the "Disqus Downvote Exposer"-addon for Chrome.
// ==UserScript== // @name Disqus Downvote Exposer // @namespace MadeByXorok // @include *://*.disqus.com/* // @include *://disqus.com/* // @version 1 // @grant none // // @description This is a port of the "Disqus Downvote Exposer"-addon for Chrome. // It can be found here: https://chrome.google.com/webstore/detail/disqus-downvote-exposer/onccocebmmmcfgipaappfpolojndnkce // // I ported it to ensure cross-browser-compatibility (in my case Firefox). The original code belongs to Yunku Daniel Kang. // ==/UserScript== setInterval(ShowDownvotes, 3000); function ShowDownvotes() { var downvotes = document.getElementsByClassName("vote-down"); for (var i = 0; i < downvotes.length; i++) { var downvoteCount = downvotes[i].getElementsByClassName("downvote-count"); if (downvoteCount.length == 0) { downvoteCount = document.createElement("span"); downvoteCount.className = "downvote-count"; downvoteCount.style.position = "relative"; downvoteCount.style.top = "-3px"; downvotes[i].insertBefore(downvoteCount, downvotes[i].firstChild); } else downvoteCount = downvoteCount[0]; downvoteCount.innerHTML = downvotes[i].className.split(" ")[2].substring(6); if (downvoteCount.innerHTML == "0") downvoteCount.style.display = "none"; else downvoteCount.style.display = ""; } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址