Replaces links in the Files tab on sourceforge.net with direct download links
< Σχολιασμός για τον κώδικα SF.net: Direct download links
REPLACE in script this code string:href = links[i].getAttribute("href").replace("sourceforge.net/projects/", "master.dl.sourceforge.net/project/").replace("/files/", "/").replace(/\/download$/, "");with this string:href = links[i].getAttribute("href").replace("sourceforge.net/projects/", "master.dl.sourceforge.net/project/").replace("/files/", "/").replace(/\/download$/, "?viasf=1");Than you can to download any file from "Files" list by right mouse click and "Save this link as..."
P.S. No at all! You welcome!
Συνδεθείτε για να δημοσιεύσετε μια απάντηση.
REPLACE in script this code string:
href = links[i].getAttribute("href").replace("sourceforge.net/projects/", "master.dl.sourceforge.net/project/").replace("/files/", "/").replace(/\/download$/, "");
with this string:
href = links[i].getAttribute("href").replace("sourceforge.net/projects/", "master.dl.sourceforge.net/project/").replace("/files/", "/").replace(/\/download$/, "?viasf=1");
Than you can to download any file from "Files" list by right mouse click and "Save this link as..."