DEDE添加迅雷专用链接(半迅雷化)
作者:
半迅雷化专用链接,原来的地址仍然会显示,不利于隐藏真实下载地址,真实下载地址可直接通过源文件看到
内容代码/templets/system/channel/channel_downlinks.htm文件
<script language="javascript">
var thunder_url = "~link~";
var thunder_pid = "29416";
var restitle = "";
document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2,4)" oncontextmenu="ThunderNetwork_SetHref(this)">迅雷专用高速下载</a> ');
</script>
加/templets/plus/download_links_templet.htm文件
<script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script>
<script src="http://pstatic.xunlei.com/js/base64.js"></script>
<script language="javascript">
var thunder_url = "~link~";
var thunder_pid = "29416";
var restitle = "";
document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2,4)" oncontextmenu="ThunderNetwork_SetHref(this)">迅雷专用高速下载</a> ');
</script>
加/templets/plus/download_links_templet.htm文件
<script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script>
<script src="http://pstatic.xunlei.com/js/base64.js"></script>