存档

文章标签 ‘ed2k’

JavaScript将ed2k或磁力链接转换为迅雷、QQ旋风、快车下载链接

2015年12月11日 没有评论

<script language=”javascript” type=”text/javascript” src=”base64.js”></script>
<script language=”javascript” type=”text/javascript” src=”urlconvert.js”></script>
<script language=”javascript” type=”text/javascript” src=”jquery.js”></script>

 

<form onsubmit=”urlconvert();returnjs false;” action=”” method=”get”><label for=”oldurl”>原始地址:</label> <input class=”int” id=”oldurl” name=”oldurl”> <input id=”button” onclick=”urlconvert();” type=”button” value=”转换” name=”button”>
<hr>
<div id=”r”>
<p><label for=”newurl”>真实地址:</label> <input class=”int” id=”newurl” onclick=”if(this.value){copy(this.value);}” name=”newurl”><span id=”down_newurl”></span> </p>
<p><label for=”thunderurl”>迅雷地址:</label> <input class=”int” id=”thunderurl” onclick=”if(this.value){copy(this.value);}” name=”thunderurl”></p>
<p><label for=”flashgeturl”>快车地址:</label> <input class=”int” id=”flashgeturl” onclick=”if(this.value){copy(this.value);}” name=”flashgeturl”></p>
<p><label for=”xuanfengurl”>旋风地址:</label> <input class=”int” id=”qqurl” onclick=”if(this.value){copy(this.value);}” name=”qqurl”><span id=”down_qqurl”></span></p></div></form>

 

分别需要:base64.js和urlconvert.js和jquery.js文件,打包如下:

 

css.php