// ==UserScript== // @name PTH Colourful Sandbox // @version 0.2 // @description Give the different types of threads in the PTH sandbox different colours // @author Chameleon // @include http*://*redacted.ch/*forumid=8* // @grant none // @namespace https://greasyfork.org/users/87476 // @downloadURL https://update.greasyfork.icu/scripts/25745/PTH%20Colourful%20Sandbox.user.js // @updateURL https://update.greasyfork.icu/scripts/25745/PTH%20Colourful%20Sandbox.meta.js // ==/UserScript== var colours = [ {name:"user script", colour:"#888800"}, {name:"userscript", colour:"#444400"}, {name:"stylesheet", colour:"#880000"}, {name:"tool", colour:"#008800"}, {name:"application", colour:"#6666cc"}, {name:"python", colour:"#008888"}, {name:"gazelle", colour:"#880088"}, {name:"user script / tool", colour:"white; background: linear-gradient(to right, #888800 0%,#008800 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"}, ]; (function() { 'use strict'; var as=document.getElementsByClassName("forum_index")[0].getElementsByClassName('tooltip'); for(var i=0; i'); a.innerHTML = a.innerHTML.replace(']', ']'); break; } } } })();