SF.net: Direct download links

Replaces links in the Files tab on sourceforge.net with direct download links

< 脚本 SF.net: Direct download links 的反馈

评价:好评 - 脚本运行良好

§
发布于:2024-02-26

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..."

§
发布于:2024-02-26

P.S. No at all! You welcome!

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址