Go Back   CodingForums.com > :: Client side development > JavaScript programming > DOM and JSON scripting

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-13-2013, 05:56 PM   PM User | #1
trackersoftware
New to the CF scene

 
Join Date: Mar 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
trackersoftware is an unknown quantity at this point
Disable plugins in IE, Mozilla, Opera, Safari, Chrome

Is there a way to disable a plugin using javascript? Currently, the plugins can be accessed for the navigator object and plugin property. e.g. navigator.plugins and you determine if a plugin is currently enabled.
e.g. mimetype.pluginenabled

These properties are readonly, is there anything in javascript to turn off or disable a plugin in javascript?
trackersoftware is offline   Reply With Quote
Old 03-13-2013, 06:56 PM   PM User | #2
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,469
Thanks: 9
Thanked 466 Times in 450 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
Quote:
Originally Posted by trackersoftware View Post
These properties are readonly, is there anything in javascript to turn off or disable a plugin in javascript?
no, there's not.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.6% IE9:9.8% IE10:10%
rnd me is offline   Reply With Quote
Old 03-13-2013, 07:17 PM   PM User | #3
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 952
Thanks: 7
Thanked 98 Times in 98 Posts
WolfShade is an unknown quantity at this point
Quote:
Originally Posted by trackersoftware View Post
Is there a way to disable a plugin using javascript? Currently, the plugins can be accessed for the navigator object and plugin property. e.g. navigator.plugins and you determine if a plugin is currently enabled.
e.g. mimetype.pluginenabled

These properties are readonly, is there anything in javascript to turn off or disable a plugin in javascript?
That would be a security risk, I believe.
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Old 03-13-2013, 09:36 PM   PM User | #4
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,469
Thanks: 9
Thanked 466 Times in 450 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
you can run your code in a WebWorker, which doesn't have DOM access much less plugins.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.6% IE9:9.8% IE10:10%
rnd me is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript, javascript scripting

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:10 PM.


Advertisement
Log in to turn off these ads.