User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 111:
 
if (wgPageName == "Special:Recentchanges") window.setInterval(function() {
$("#bodyContent ul.special").load(wgScript + "?title=Special:Recentchanges #bodyContent ul.special li");
}, 15000);
 
// I hope this works with Shadowbox
$("#bodyContent img").attr("rel", "shadowbox[All images]").each(function() {
var self = $(this), url = (function() {
return $("#bodyContent img", $.get(self.attr("href"))).get(0).getAttribute("src");
} })();
self.attr("href", url);
});
});
}})("http://year2000prob.freehostia.com/wp-content/uploads/shadowbox-2.0.js")();
}})();
 
var wikEdUsing = "(using [[" + (whichsite != "wp" ? "wikipedia:" : "") + "User:Cacycle/wikEd|wikEd]])",