Site Notice
hello, world
Generate Image Download Links
From Project-EPB Commons
<html> <label> <h4>URL</h4> <input id="html" value="https://no-game-no-life.fandom.com/wiki/Special:Filepath/"></input> </label> <label for="jsonList"><h4>JSON file</h4></label> <textarea id="jsonList"></textarea> <button onclick="generate()">Generate</button> <h4>File list</h4> <ol style="height: 500px; overflow:auto" id="fileList"></ol> <script> function generate() {
var html = $('#html').val(), files = eval('(' + $('#jsonList').val() + ')'), output = ''; for (var i = 0; i < files.query.allpages.length; i++) { output = '<li>' + output + html + files.query.allpages[i].title.replace(/\ /g, '_') + '</li>'; } $('#fileList').html(output);
} </script> <style>h4{margin: 4px 0 2px 0 !important}</style> </html>