NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name ct hats // @namespace torn.com // @version 1.0 // @author Ahab [1735214] // @include *torn.com/christmas_town* // @license MIT // @icon https://www.google.com/s2/favicons?sz=64&domain=torn.com // @require https://gist.githubusercontent.com/BrockA/2625891/raw/9c97aa67ff9c5d56be34a55ad6c18a314e5eb548/waitForKeyElements.js // ==/UserScript== var hat = 12 //1 - 12 function addhat(){ $("div[class*='you']").append('<div class="userHat hat'+hat+'"></div>') } waitForKeyElements(".map-controls ", addhat);