User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 109:
$(this).parent().find("div.pBody").slideToggle("slow");
}).parent().find("div.pBody").css("border-left", "none").hide();
function rcUpdate() {$("#bodyContent ul.special").html("<li>Updating...</li>").load(wgScript + "?title=Special:Recentchanges #bodyContent ul.special li")};
 
if (wgPageName == "Special:Recentchanges") window.setInterval(function()rcUpdate, {15000);
$("#bodyContent ul.special").loaddblclick(wgScriptfunction() + "?title=Special:Recentchanges #bodyContent ul.special li");{
window.clearInterval(rcUpdate);
}, 15000);
rcUpdate();
window.setInterval(rcUpdate, 15000);
}, 15000);
 
// I hope this works with Shadowbox