Wikipedia:WikiProject User scripts/Scripts/Watchlist since: Difference between revisions
Content deleted Content added
m Protected Wikipedia:WikiProject User scripts/Scripts/Watchlist since: protect against abuse - arbitrary code injection [edit=sysop:move=sysop] |
Add a 60 second overlap to cater for server lag |
||
Line 12:
var fixLinkHref = function () {
var url = window.___location.href.split('#')[0];
var days = (( +(new Date()) - then ) + (60 * 1000)) / (1000 * 3600 * 24);
if (url.match(/[?&]days=/))
this.href = url.replace(/([?&]days=)[^&]*/, '$1'+days);
|