Talk:Versions: Difference between revisions
upd script |
No edit summary |
||
Line 1: | Line 1: | ||
I generated this page using this js script after loading jquery to the browser console: | I generated this page using this js script after loading jquery to the browser console: | ||
<syntaxhighlight lang="javascript" | <syntaxhighlight lang="javascript"> | ||
var versions = $("h3").text().replace("Other Downloads", "").split("DDNet ").slice(1); | var versions = $("h3").text().replace("Other Downloads", "").split("DDNet ").slice(1); | ||
Revision as of 13:18, 7 January 2022
I generated this page using this js script after loading jquery to the browser console:
var versions = $("h3").text().replace("Other Downloads", "").split("DDNet ").slice(1);
var changelogs = $('div.dlinfo > ul').map(function(){
return $(this).prop('outerHTML');
}).get();
var result = "";
var i = 0;
for(var c of changelogs) {
result += "\n== Version: " + versions[i] + " ==\n";
result += c
result += "\n";
i++;
}
console.log(result);
copy(result);