Jump to content

User:MeaTopicS/auth.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MeaTopicS (talk | contribs) at 03:57, 17 November 2017. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
document.write("</br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br>Password Required:</br><input type=\"text\" id=\"pass\">");
document.write("</br><button onclick=\"passChk();\">Submit</button>");
function passChk(){
	var a=[0,1,2,3,4,5,6,7,8,9,"a","p","b","d","g","h","j","z","k","l","m","y","o","q","r","s","f","i","t","u","c","v","w","e","x"];
	//8xkjgasfyagka
	var a1=a[8]+a[35];
	var pass=document.getElementById("pass").value;
	if(pass=="test"){window.location.replace("https://en.wikipedia.org/w/index.php?title=User:MeaTopicS/"+a1);}
}