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="list"><h4>JSON file</h4></label> <textarea id="list"></textarea> <button onclick="generate()">Generate</button> <h4>File list</h4> <div style="height: 500px; overflow:auto" ><ol id="fileList"></ol></div> <script> function generate() {

 var files = $('#list').val().split('\n'),
     output = '';
 for (var i = 0; i < files.length; i++) {
   output = output + '<li>' + files[i].split('/revision/')[0] + '</li>';
   // output = output + '\n*' + '{{filepath:' + files.query.allpages[i].title + '}}';
 }
 $('#fileList').html(output);

} </script> <style>h4{margin: 4px 0 2px 0 !important}</style> </html>