User:Thunderbot/wikia.js

var patt1=new RegExp(' '); var text = document.getElementById("WikiaArticle").innerHTML; if(patt1.test(text) == true){alert("Hidden text detected.")} importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma seperated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('PM'); }