views:

142

answers:

2

Hi Folks,

Afaik, you can change/manipulate browser settings in Mozilla/Netscape browsers. For Instance "netscape.security.PrivilegeManager.enablePrivilege('someprivilege');"

Of course the user gets informed about that and needs to verify the action.

My question is, do other browser have similar functionality? IE, Safari/Chrome ?

Kind Regards

--Andy

+3  A: 

You can read about it here - http://www.mozilla.org/projects/security/components/signed-scripts.html#privs

Also example available here: http://www.mozilla.org/projects/security/components/signed-script-example.html

Browsers let extensions to interact with their core to certain level, but that's about it. You can read about Mozilla and Chrome extensions and see they interact with the browser through JavaScript, but this is only inside extensions, signed scripts and scripts located on user's hard drives.

Ivo Sabev
A: 

Did a quicky google after my comment, turns out no. Netscape is a pretty ancient browser anyway, since then securities been stepped up a fair few notches. anyway for a discussion here you go:

http://bytes.com/topic/javascript/answers/580772-how-change-browser-settings-dynamically-through-javascript

Rob