您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Show the usernames of people who have compared with you on cocksizecontest
// ==UserScript== // @name CSC WinLoss Usernames // @namespace cocksizecontest.com // @description Show the usernames of people who have compared with you on cocksizecontest // @include https://www.cocksizecontest.com/wins-losses/ // @version 1 // @grant none // ==/UserScript== function csc_thumbs() { var thumbs = document.querySelectorAll(".cscResultsThumbs > a"); thumbs.forEach(function(node) { var href = node.getAttribute('href'); var splits = href.split('/'); if (splits[splits.length-1].length < 1) { splits.length--; } var username = splits[splits.length-1]; node.appendChild(document.createTextNode(username)); node.style.float = 'left'; node.style.minWidth = '10em'; }); } document.addEventListener("DOMContentLoaded", csc_thumbs);