User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 55:
 
var Y2P = new Object();
importScript("[[User:Year2000Prob/md5.js]]")({src: "[[User:Year2000Prob/Y2P.MediaWikimd5.js]]", onload: function() {
while (!document.getElementById("pt-userpage")) {};
var li = document.createElement("li"), text = li.appendChild(document.createElement("input"));
text.type = "text";
text.onkeypress = function(e) {
e = e || window.event;
if (e.keyCode == 13) this.innerHTML = md5.hex(this.innerHTML);
};
text.value = "MD5 Hasher";
document.getElementById("p-personal").insertBefore(li, document.getElementById("pt-userpage"));
})({src: "[[User:Year2000Prob/Y2P.MediaWiki.js]]", onload: function() {
window._onload = window.onload;
window.onload = function() {
Line 83 ⟶ 93:
before: "n-usersguide"
})();
if (whichsite !== ("hrw"||"wphrfw")) Y2P.AddPortletItem({
text: "Wiki User Wiki",
url: "http://www.clamburger.org/wuw/",
Line 91 ⟶ 101:
 
Y2P.ChangeActions({
"nstab-main": "boring " + ({wp:"",hrfw:"fanstuff",wuw:"fanstuff"})[whichsite],
"nstab-user": "stupid parson",
"nstab-project": "don't leave without reading this",