Last active
August 29, 2015 14:07
-
-
Save tpai/c69b25d69678577e0850 to your computer and use it in GitHub Desktop.
fetch-xunlei-urls
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
// You should browse the URL which is like "http://kuai.xunlei.com/d/xxxxxxxxxxx" with jquery library. | |
var url = "" | |
$.each($("#file-list").find("a"), function(key, val) { | |
url += $(val).attr("href")+"<br />" | |
}) | |
window.open("data:text/html,<title>Select All Then Copy</title>"+url) |
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
javascript:var url="";$.each($("#file-list").find("a"),function(e,t){url+=$(t).attr("href")+"<br />"});window.open("data:text/html,<title>Select All Then Copy</title>"+url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment