Jump to content

Wikipedia:WikiProject User scripts/Scripts/HistoryCount

From Wikipedia, the free encyclopedia
// <syntaxhighlight lang="javascript">

// HistoryCount
addOnloadHook(function (){
    var N = 250;      // <<== CHANGE TO YOUR LIKING
    var x = document.getElementById('ca-history');
    if(!x) return;
    x.getElementsByTagName('a')[0].href += "&limit=" + N;
});

// </syntaxhighlight>[[Category:Wikipedia scripts]]