താഴെ ഉള്ള code ഒരു ടെക്സ്റ്റ് എഡിറ്ററില് ഇട്ട് html ആയി സേവ് ചെയ്താല് #info ഉപയോഗിച്ച് torrent ഡൌണ്ലോഡ് ചെയ്യാം..
---------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>torrent downloader..</title>
<script type="text/javascript">
function myFunction() {
var a = "magnet:?xt=urn:btih:";
var b = document.getElementById("input").value;
document.write("<a href="+a+b+">"+"click here to download torrent"+"</a>");
}
</script>
</head>
<body>
</br>
</br>
1.Enter torrent hash info in the text box below,</br>
2.press enter or click submit,</br>
3.Click on the given link</br>
4.the link will open in a torrent client.</br>
( if you dont have any download one like<a href="http://www.bittorrent.com/bittorrent-free"> bittorrent </a> )
</br>
</br>
</br>
</br>
<input type="text" value="" id="input">
<button onclick="myFunction()">Submit</button>
<!--By nesi, -->
</body>
</html>
------------------------------------
---------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>torrent downloader..</title>
<script type="text/javascript">
function myFunction() {
var a = "magnet:?xt=urn:btih:";
var b = document.getElementById("input").value;
document.write("<a href="+a+b+">"+"click here to download torrent"+"</a>");
}
</script>
</head>
<body>
</br>
</br>
1.Enter torrent hash info in the text box below,</br>
2.press enter or click submit,</br>
3.Click on the given link</br>
4.the link will open in a torrent client.</br>
( if you dont have any download one like<a href="http://www.bittorrent.com/bittorrent-free"> bittorrent </a> )
</br>
</br>
</br>
</br>
<input type="text" value="" id="input">
<button onclick="myFunction()">Submit</button>
<!--By nesi, -->
</body>
</html>
------------------------------------
No comments:
Post a Comment
was it useful ? or did you got stuck with your computer on a palm tree and your head in an oven? feel free to lemme know..