Hell of a Time - Detect Plugins, Close Parent Window, Detect 128 bit Encryption Browser, create Shortcut 
Author Message
 Hell of a Time - Detect Plugins, Close Parent Window, Detect 128 bit Encryption Browser, create Shortcut

I am having hell of a time researching the various sites for assistance.

1)  I want to be able to detect if Macromedia Shockwave Plugins exits in PC
on both IE and NS browers.  If not, launch page to allow download - just
like the way www.shockwave.com does it if you go to their site and if you
don't have the plugins.  I can use the navigator.plugins to return plugins
on NS but this won't work with IE.

2)  Can I close the parent window after the parent window has opened a child
window without the system prompting for permission ?

3)  How can I detect if my browser (IE and NS) is 128 bit encryption ?

4)  How can I use my html page to create a shortcut in my desktop ?

I would appreciate if anyone can provide some tips...thankx




Fri, 09 Aug 2002 03:00:00 GMT  
 Hell of a Time - Detect Plugins, Close Parent Window, Detect 128 bit Encryption Browser, create Shortcut
Hi YM

Quote:

> 2)  Can I close the parent window after the parent window has opened a child
> window without the system prompting for permission ?

You can only close the parent window without the prompting for permission if it
had been opened with "window.open()". It is a security issue...

Quote:
> 3)  How can I detect if my browser (IE and NS) is 128 bit encryption ?

<http://www.webreference.com/js/tips/000114.html> may shed a light on this.

Klaus



Sat, 10 Aug 2002 03:00:00 GMT  
 Hell of a Time - Detect Plugins, Close Parent Window, Detect 128 bit Encryption Browser, create Shortcut
Hello,

    Use this code.  :-)

    Enjoy it!

    Pedro Bastos

Quote:
> 1)  I want to be able to detect if Macromedia Shockwave Plugins exits in
PC
> on both IE and NS browers.  If not, launch page to allow download - just
> like the way www.shockwave.com does it if you go to their site and if you
> don't have the plugins.  I can use the navigator.plugins to return plugins
> on NS but this won't work with IE.

<script language="VBScript">
 Function TestActiveX(objectID)
  on error resume next
  TestActiveX = IsObject(CreateObject(objectID))
 End Function
</script>

<SCRIPT LANGUAGE=JavaScript>
<!--
function checkForFlash()
{
 navigator.plugins.refresh();

 if ( navigator.appName &&
  navigator.appName.indexOf("Netscape") != - 1 &&
  navigator.appVersion.indexOf("4.") != - 1 ){

  if ( !navigator.plugins["Shockwave Flash"]

   alert ("You dont have any shockwave flash player.");
  }
 } else {
  fversion  = 0;
  swversion = 0;

  if( TestActiveX("ShockwaveFlash.ShockwaveFlash.4"))  { fversion = 4 }
  else if ( TestActiveX("ShockwaveFlash.ShockwaveFlash.3"))  { fversion =
3 }
  else if ( TestActiveX("ShockwaveFlash.ShockwaveFlash.1"))  { fversion =
2 }

  if      ( TestActiveX("SWCtl.SWCtl.8"))  { swversion= 8 }
  else if ( TestActiveX("SWCtl.SWCtl.7"))  { swversion= 7 }
  else if ( TestActiveX("SWCtl.SWCtl.1"))  { swversion= 6 }

if      ( swversion < 6 ) { alert ("You dont have any shockwave player or an
old version."); }
 else if ( fversion  < 4 ) { alert ("You dont have any flash player or an
old version."); }

 alert("Your Flash version is: "+fversion);
 alert("Your Shockwave version is: "+swversion);

 }

Quote:
}

</SCRIPT>


Sun, 11 Aug 2002 03:00:00 GMT  
 Hell of a Time - Detect Plugins, Close Parent Window, Detect 128 bit Encryption Browser, create Shortcut
Pedro,

You are my HERO !  You sure make my week --- thank so much, appreciate your
help...

Sherisse


Quote:
> Hello,

>     Use this code.  :-)

>     Enjoy it!

>     Pedro Bastos

> > 1)  I want to be able to detect if Macromedia Shockwave Plugins exits in
> PC
> > on both IE and NS browers.  If not, launch page to allow download - just
> > like the way www.shockwave.com does it if you go to their site and if
you
> > don't have the plugins.  I can use the navigator.plugins to return
plugins
> > on NS but this won't work with IE.

> <script language="VBScript">
>  Function TestActiveX(objectID)
>   on error resume next
>   TestActiveX = IsObject(CreateObject(objectID))
>  End Function
> </script>

> <SCRIPT LANGUAGE=JavaScript>
> <!--
> function checkForFlash()
> {
>  navigator.plugins.refresh();

>  if ( navigator.appName &&
>   navigator.appName.indexOf("Netscape") != - 1 &&
>   navigator.appVersion.indexOf("4.") != - 1 ){

>   if ( !navigator.plugins["Shockwave Flash"]

>    alert ("You dont have any shockwave flash player.");
>   }
>  } else {
>   fversion  = 0;
>   swversion = 0;

>   if( TestActiveX("ShockwaveFlash.ShockwaveFlash.4"))  { fversion = 4 }
>   else if ( TestActiveX("ShockwaveFlash.ShockwaveFlash.3"))  { fversion =
> 3 }
>   else if ( TestActiveX("ShockwaveFlash.ShockwaveFlash.1"))  { fversion =
> 2 }

>   if      ( TestActiveX("SWCtl.SWCtl.8"))  { swversion= 8 }
>   else if ( TestActiveX("SWCtl.SWCtl.7"))  { swversion= 7 }
>   else if ( TestActiveX("SWCtl.SWCtl.1"))  { swversion= 6 }

> if      ( swversion < 6 ) { alert ("You dont have any shockwave player or
an
> old version."); }
>  else if ( fversion  < 4 ) { alert ("You dont have any flash player or an
> old version."); }

>  alert("Your Flash version is: "+fversion);
>  alert("Your Shockwave version is: "+swversion);

>  }
> }
> </SCRIPT>



Mon, 12 Aug 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. HDY Detect Strong (128 bit) encryption

2. 128-bit (or 40-bit) Encryption Source-Code

3. Detecting 128 bit IE

4. Detecting 128 bit IE

5. Determining 40 or 128-bit encryption level

6. detecting plugins on IE5 for Windows

7. detect closing child browser window

8. Determine 128 Bit?

9. Detect closing of windows without onunload event

10. Detect a closed window and restart it

11. detect window closing

12. detecting plugins

 

 
Powered by phpBB® Forum Software