日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

迅雷下载链接生成

發布時間:2024/1/1 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 迅雷下载链接生成 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

下面是設置迅雷專用下載鏈接的JAV代碼

JAV代碼:

<!-- JavaScript專用鏈代碼 -->

<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 = "http://請改成你需要的鏈接.rar";
var thunder_pid = "57029";
var restitle = "";
document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2,4)" οncοntextmenu="ThunderNetwork_SetHref(this)">迅雷專用高速下載</a> ');
</script>

JAV代碼效果:?迅雷專用高速下載


JSP代碼:

<!-- JSP專用鏈代碼一 -->
<SCRIPT src="http://pstatic.xunlei.com/js/webThunderDetect.js"></SCRIPT>
<%@include file="base64.jsp"%><%?
String thunderUrl = ThunderEncode("http://,請改成你需要的鏈接.rar");?
%><A οncοntextmenu=ThunderNetwork_SetHref(this) οnclick="return OnDownloadClick_Simple(this,2,4)" href="#" thunderResTitle="下載資源名" thunderType="" thunderPid="57029" thunderHref="<%=thunderUrl%>">迅雷專用高速下載</A>

JSP代碼效果:?迅雷專用高速下載


ASP代碼:

<!-- ASP專用鏈代碼一 --> <!--#include file="base64.asp"-->
<SCRIPT src="http://pstatic.xunlei.com/js/webThunderDetect.js"></SCRIPT>
<%?
Dim thunderUrl thunderUrl = ThunderEncode("http://請改成你需要的鏈接.rar")?
%><A οncοntextmenu=ThunderNetwork_SetHref(this) οnclick="return OnDownloadClick_Simple(this,2,4)" href="#" thunderResTitle="下載資源名" thunderType="" thunderPid="57029" thunderHref="<%=thunderUrl%>">迅雷專用高速下載</A>

ASP代碼效果:?迅雷專用高速下載


PHP代碼:

<!-- PHP專用鏈代碼一 -->
<SCRIPT src="http://pstatic.xunlei.com/js/webThunderDetect.js"></SCRIPT>
<?php require("encode.inc"); ?><?php

$thunderUrl = ThunderEncode("http://請改成你需要的鏈接.rar");?
?><A οncοntextmenu=ThunderNetwork_SetHref(this) οnclick="return OnDownloadClick_Simple(this,2,4)" href="#" thunderResTitle="下載資源名" thunderType="" thunderPid="57029" thunderHref="<?php echo $thunderUrl;?>">迅雷專用高速下載</A>

PHP代碼效果:?迅雷專用高速下載


論壇專用鏈接代碼:

<!-- 論壇專用鏈代碼 -->
<SCRIPT src="http://pstatic.xunlei.com/js/webThunderDetect.js"></SCRIPT>

<SCRIPT src="js/base64.js"></SCRIPT>

<SCRIPT language=javascript>?
var thunderPath = "";
var thunderPid = "57029";?
</SCRIPT>

<SCRIPT src="js/thunderForum.js"></SCRIPT>

論壇專用鏈接代碼效果:


ASP.NET代碼:

<!-- Asp.net專用鏈代碼一 -->

<script runat=server>?
public string ThunderEncode(string code)?
{?
code="AA"+code+"ZZ";?
string encode = "";?
byte[] bytes = Encoding.GetEncoding(54936).GetBytes(code);?
try?
{?
encode = Convert.ToBase64String(bytes);
}?
catch?
{
encode = code;
}?
return "thunder://"+encode;?
}?
</script>?
<script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script>?
<a href="#" thunderHref="<%=ThunderEncode("http://請改成你需要的鏈接.rar")%>" thunderPid="57029" thunderType="" thunderResTitle="" onClick="return OnDownloadClick_Simple(this,2,4)" οncοntextmenu="ThunderNetwork_SetHref(this)" >迅雷專用高速下載</a>

ASP.NET代碼效果:?" thunderPid="57029" thunderType="" thunderResTitle="" onClick="return OnDownloadClick_Simple(this,2,4)" οncοntextmenu="ThunderNetwork_SetHref(this)" >迅雷專用高速下載

總結

以上是生活随笔為你收集整理的迅雷下载链接生成的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。