„Szerkesztő:AntiVandal/recent2.js” változatai közötti eltérés
Tartalom törölve Tartalom hozzáadva
aNincs szerkesztési összefoglaló |
aNincs szerkesztési összefoglaló |
||
1. sor:
// -*- mode:java; coding:utf-8 -*-
/*
66 ⟶ 68 sor:
window.getWatchlist=function() {
window.gettingWatchlist=true;
recent2.download({url: 'http://hu.wikipedia.org/wiki/
onSuccess: processWatchlist, onFailure: function () { recent2.runOnce(getWatchlist, 15000); return true; }});
}
90 ⟶ 92 sor:
recent2.runOnce.timers=[];
var feed='http://hu.wikipedia.org/w/index.php?title=
window.newOutputDiv=function(klass, position, immortal) {
510 ⟶ 512 sor:
window.maybeStart=function() {
var loc=document.location.href;
if (RegExp('User:
recent2.filter_badwords=true;
recent2.runOnce(marvin, 1000);
}
else if (RegExp('User:
recent2.filter_badwords=false;
recent2.runOnce(marvin, 1000);
}
else if (RegExp('User:
recent2.filter_anonsOnly=true;
recent2.runOnce(marvin, 1000);
}
else if (RegExp('User:
recent2.filter_watchlist=true;
recent2.runOnce(marvin, 1000);
|