Last active
December 25, 2017 14:53
-
-
Save afzafri/7b5327ff61b9d41e8be14035f725caed to your computer and use it in GitHub Desktop.
i-Learn Bulk Files Downloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// i-Learn Bulk Files Downloader | |
// Usage: copy the scripts, go to the files directory page, press F12 (open console), paste the code and enter | |
console.log("i-Learn Bulk Files Downloader - Afif Zafri"); | |
var tr = document.getElementsByTagName("tr"); | |
for(i=2;i<tr.length-1;i++) | |
{ | |
var td = tr[i].getElementsByTagName("td")[5]; | |
var url = td.getElementsByTagName("a")[0]['href']; | |
window.open(url, '_blank'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment