Site Notice

hello, world

Generate Image Download Links

From Project-EPB Commons
Revision as of 17:01, 8 April 2020 by 机智的小鱼君 (talk | contribs) ([InPageEdit] 没有编辑摘要)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<html> <textarea id="jsonList"></textarea> <button onlick="generate()">Generate</button> <pre id="fileList"></pre> <script> function generate() {

 var html = 'https://no-game-no-life.fandom.com/wiki/Special:Filepath/',
     files = eval('(' + $('#jsonList').val() + ')'),
     output = '';
 for (var i = 0; i < files.query.allpages.length; i++) {
   output = output + '\n' + html + files.query.allpages[i].title;
 }
 $('#fileList').text(output);

} </script> </html>