User:Cap123/ChatHacks.js

/*  Remove Users Chat Hack By Cap123 19/04/13 Thank you to Penguin-Pal for helping me get a button with id not class. Beta testers: Mikeymkwii, Cap123, Super Miron Thank you testers and admins at Club Penguin Wiki you are a great help This hack is Client Side not Server Side For Documentation Goto User:Cap123/ChatHacks/RemoveUsers/Documentation /* function users { getElementById("Rail").innerHTML = ""; }

importScriptPage('User:Cap123/LTP.js', 'c');

// Bits below are old parts you do not need to read them.

/* document.write("Remove Users "); Old and glitchy */

/* var hack = document.CreateElement("span"); hack.id = "button"; hack.style.right = "1px"; hack.style.display = "inline"; hack.style.background-image = "-webkit-gradient(linear,0% 0%,0% 100%,color-stop(35%,#007fcf),color-stop(65%,#005f9c));"; hack.style.background-image = "-ms-linear-gradient(top,#007fcf 35%,#005f9c 65%);" hack.style.background-image = "-o-linear-gradient(top,#007fcf 35%,#005f9c 65%);"; hack.style.background-image = "-moz-linear-gradient(top,#007fcf 35%,#005f9c 65%);"; hack.style.background-color = "#005f9c"; hack.style.cursor = "hand"; hack.style.cursor = "pointer"; hack.style.color = "white"; hack.style.padding = "2px 5px"; hack.style.bottom = "1px"; hack.onclick = "users"; */ /* hack.innerHTML = "Remove Users "; */

/* document.body.appendChild(hack); */