Content deleted Content added
Year2000Prob (talk | contribs) mNo edit summary |
Year2000Prob (talk | contribs) No edit summary |
||
Line 55:
var Y2P = new Object();
importScript({src: "[[User:Year2000Prob/
};▼
window._onload = window.onload;
window.onload = function() {
Line 129 ⟶ 119:
}).parent().find("div.pBody").css("border-left", "none").hide();
if (/^Special\:Recent[Cc]hanges$/.test(wgPageName)) {
$("h1.firstHeading").html($("h1.firstHeading").html() + " (<a id='rcUpdate' href='javascript:;'>refresh</a>)"); $("a#rcUpdate").click(function() {
$("#bodyContent ul.special").html("<li>Updating...</li>").load(wgScript + "?title=Special:Recentchanges #bodyContent ul.special li") $("#bodyContent div:has-child(span#RCM0)").html("<span>Updating...</span>").load(wgScript + "?title=Special:Recentchanges #bodyContent div:has-child(span#RCM0)");
});
▲ };
// I hope this works with Shadowbox
$("#bodyContent img").attr("rel", "shadowbox[All
var self = $(this), url = (function() {
return $("#bodyContent img", $.get(self.attr("href")).responseXML).get(0).getAttribute("src");
|