Horje
download all html pages as single file recursively chrome extenio Code Example
download all html pages as single file recursively chrome extenio
var dir = "/videos";
var fileextension = ".mp4";
$.ajax({
    //This will retrieve the contents of the folder if the folder is configured as 'browsable'
    url: dir,
    success: function (data) {
        // List all mp4 file names in the page
        $(data).find("a:contains(" + fileextension + ")").each(function () {
            var filename = this.href.replace(window.location.host, "").replace("http:///", "");
            $("body").append($("<img src=" + dir + filename + "></img>"));
        });
    }
});




Javascript

Related
discord bot remove message reaction Code Example discord bot remove message reaction Code Example
Turn on modern JS by adding use strict to your script Code Example Turn on modern JS by adding use strict to your script Code Example
defining functions in react Code Example defining functions in react Code Example
lodash remove not in array Code Example lodash remove not in array Code Example
write buffer to file in node Code Example write buffer to file in node Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9