User:AHRtbA==/monobook.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin can be added at User:AHRtbA==/monobook.css. |
var recentchanges;
window.onload=function(){
recentChanges();
quikendoEditPage();
checkBadWords();
}
function recentChanges()
{
var link="<li id='quikendo'><a target='_blank' href='http://en.wikipedia.org/wiki/User:AHRtbA==/Quikendo'>Quikendo Project</a></i>";
document.getElementById("p-tb").getElementsByTagName("ul")[0].innerHTML+=link;
if(document.getElementById("bodyContent")&&document.getElementById("recentchangestext")){
try{recentchanges=document.getElementById("bodyContent").getElementsByTagName("div")[5].getElementsByTagName("table");}
catch(ee){return false;}for(i=0;i<recentchanges.length;i++){
if(recentchanges[i].childNodes[0].childNodes[0].childNodes[1].childNodes[2].innerHTML=="diff"&&recentchanges[i].childNodes[0].childNodes[0].childNodes[1].childNodes[2].href!="undefined"&&recentchanges[i].childNodes[0].childNodes[0].childNodes[1].childNodes[2].href!="")
{
try{var tempquikurl=recentchanges[i].childNodes[0].childNodes[0].childNodes[1].childNodes[2].href;
var quikendourl=tempquikurl.substring(0,tempquikurl.indexOf("&"))+"&action=edit&quikendo=true&"+tempquikurl.substring(tempquikurl.indexOf("diff="),tempquikurl.length).replace("diff","undo").replace("oldid","undoafter");
recentchanges[i].childNodes[0].childNodes[0].childNodes[1].innerHTML=recentchanges[i].childNodes[0].childNodes[0].childNodes[1].innerHTML.replace("true","diff").replace(") . .",", <a href='"+quikendourl+"' title='Quikendo this edit'>undo</a>) . .");
}catch(ee){continue;}}}}
}
function quikendoEditPage()
{
if(window.location.href.indexOf("&action=edit&quikendo=true&")!=-1)
{
var filldiv=document.createElement("div");
filldiv.id="filldiv";
document.getElementById("bodyContent").insertBefore(filldiv, document.getElementById("bodyContent").getElementsByTagName("table")[0]);
var month=new Array(12);month[0]="January";month[1]="February";month[2]="March";month[3]="April";month[4]="May";month[5]="June";month[6]="July";month[7]="August";month[8]="September";month[9]="October";month[10]="November";month[11]="December";
document.getElementById("filldiv").innerHTML="<div style='margin: 0px auto;border: 1px solid #000000;padding: 10px;height: 110px;width: 850px;'>"+wgUserName+", if this edit was vandalism, please place a warning tag on <a href='http://en.wikipedia.org/w/index.php?title="+document.getElementById('wpSummary').value.substring(document.getElementById('wpSummary').value.indexOf('User talk:'),document.getElementById('wpSummary').value.indexOf('|talk')).replace(' ','_')+"&action=edit§ion=new' target='_blank'>"+document.getElementById('wpSummary').value.substring(document.getElementById('wpSummary').value.indexOf('User talk:'),document.getElementById('wpSummary').value.indexOf('|talk'))+"'s talk page.</a><br />If it was general vadalism, and it was their first time, please use:<br /> <b><nowiki>=="+month[(new Date).getMonth()]+" "+(new Date).getFullYear()+"== {{subst:uw-vandalism1|"+unescape(window.location.href.substring(window.location.href.indexOf("title="),window.location.href.indexOf("&")).replace("title=","").replace("_"," "))+"}} ~~~~</nowiki></b> on their talk page.<br />Or for a full list of templates, go to: <a href='http://en.wikipedia.org/wiki/Wikipedia:Template_messages/User_talk_namespace' title='Vandalism Messages' target='_blank'>http://en.wikipedia.org/wiki/Wikipedia:Template_messages/User_talk_namespace</a><br />Thank you!<br />The Quikendo Team</div><br />";
}
}
var badwords=new Array("try", "t", "a", "b"); function checkBadWords() { for(i=0;i<badwords.length;i++) {
var curbw = new RegExp(badwords[i],"g");document.getElementById("bodyContent").innerHTML=document.getElementById("bodyContent").innerHTML.replace(curbw, "ABCNFOIBRHBFOHBFUROHBNCJRINCOHJCRNIJRNCIJOJCPCRNCPINCRJIPNCRPJINCRJCRNKLENMKDCNJNEBCPCRNPJRCNJICRBVHPIJBV"); } }