您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Empinkens uncoloured usernames at the xkcd forums
- // ==UserScript==
- // @name Username Empinkener
- // @version 0.1
- // @description Empinkens uncoloured usernames at the xkcd forums
- // @author faubi
- // @include http://forums.xkcd.com/*
- // @include http://forums3.xkcd.com/*
- // @include http://fora.xkcd.com/*
- // @include http://echochamber.me/*
- // @namespace FaubiScripts
- // @grant none
- // ==/UserScript==
- links = document.getElementsByTagName('a');
- for(var i=0;i<links.length;i++){
- link = links[i];
- if(link.href.indexOf('memberlist.php?mode=viewprofile') !== -1 && !link.classList.contains('username-coloured') && !link.classList.contains('postlink')){
- link.style.color = '#FF00BF';
- link.classList.add('username-coloured');
- }
- }