User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 119:
}).parent().find("div.pBody").css("border-left", "none").hide();
if (/^Special\:(Recent[Cc]hanges|Watchlist)$/.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" + wgPageName + " #bodyContent ul.special li");
$("#bodyContent div:has(span#RCM0)").html("<span>Updating...</span>").load(wgScript + "?title=Special:Recentchanges" + wgPageName + " #bodyContent div:has(span#RCM0) span");
});
};