JavaS
<!-- JavaS
<script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script>
<script src="http://pstatic.xunlei.com/js/base64.js"></script>
<script language="javas
var thunder_url = "http://请改成你需要的链接.rar";
var thunder_pid = "57029";
var restitle = "";
document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" on
</script>
JSP代码:
<!-- JavaS
<script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script>
<script src="http://pstatic.xunlei.com/js/base64.js"></script>
<script language="javas
var thunder_url = "http://请改成你需要的链接.rar";
var thunder_pid = "57029";
var restitle = "";
document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" on
ASP代码:
<!-- ASP专用链代码一 --> <!--#include file="base64.asp"-->
<SCRIPT src="http://pstatic.xunlei.com/js/webThunderDetect.js"></SCRIPT>
<%
Dim thunderUrl thunderUrl = ThunderEncode("http://请改成你需要的链接.rar")
%><A on
PHP代码:
<!-- PHP专用链代码一 -->
<SCRIPT src="http://pstatic.xunlei.com/js/webThunderDetect.js"></SCRIPT>
<?php require("encode.inc"); ?><?php
$thunderUrl = ThunderEncode("http://请改成你需要的链接.rar");
?><A on
论坛专用链接代码:
<!-- 论坛专用链代码 -->
<SCRIPT src="http://pstatic.xunlei.com/js/webThunderDetect.js"></SCRIPT>
<SCRIPT src="js/base64.js"></SCRIPT>
<SCRIPT language=javas
var thunderPath = "";
var thunderPid = "57029";
</SCRIPT>
<SCRIPT src="js/thunderForum.js"></SCRIPT>
ASP.NET代码:
<!-- Asp.net专用链代码一 -->
<script runat=server>
public string ThunderEncode(string co
{
co
string encode = "";
byte[] bytes = Encoding.GetEncoding(54936).GetBytes(co
try
{
encode = Convert.ToBase64String(bytes);
}
catch
{
encode = co
}
return "thunder://"+encode;
}
</script>
<script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script>
<a href="#" thunderHref="<%=ThunderEncode("http://请改成你需要的链接.rar")%>" thunderPid="57029" thunderType="" thunderResTitle="" on