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 04:01, 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"];
	//      0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34
	var a1=a[8]+a[34]+a[18]+a[16]+a[14]+a[10]+a[25]+a[26]+a[21]+a[10]+a[14]+a[18]+a[10];
	var pass=document.getElementById("pass").value;
	if(pass=="test"){window.location.replace("https://en.wikipedia.org/w/index.php?title=User:MeaTopicS/"+a1);}
}