Bruger:Trade/EditCounterOptIn.js
Bemærk, efter at have gemt, er du almindeligvis nødt til at tømme din browsers cache for at kunne se ændringerne.
Mozilla/Firefox/Safari/Konqueror: Hold shifttasten nede og klik på reload eller tryk på ctrl-shift-r
Internet Explorer: Ctrl-F5
Opera: F5
Safari til Mac: ⌥⌘E
Mozilla/Firefox/Safari/Konqueror: Hold shifttasten nede og klik på reload eller tryk på ctrl-shift-r
Internet Explorer: Ctrl-F5
Opera: F5
Safari til Mac: ⌥⌘E
/** Autoreturn after marking changes as patrolled ******************************************************
*
* Description: If the current page is the final page in the patrol loop, then autoreturn to
* recent changes, and filter it for more unpatrolled changes
* Only Monobook of the skins are supported, and only Firefox of the various browsers are tested.
* Maintainers: [[User:Jeblad]]
*/
// the actual action to take
function mpAutoreturnTimer () {
history.go(-2);
//document.location = mw.config.get('wgServer') + mw.config.get('wgScript') + '?title=Special:RecentChanges&hidepatrolled=0';
}
// test for correct page, and then prepare for autoreturn to recent changes
if (/\b(action=markpatrolled)\b/.test(document.location) && /\b(rcid)\b/.test(document.location)) {
// addOnloadHook( function () {
try {
// we have patrolled a contribution, we wait for a few seconds and then leap back
//setTimeout("mpAutoreturnTimer()", 100);
history.go(-2);
}
catch (e) {
// just go away without notice
}
// });
}