Eugene Zlobin wrote:
> Hi All,
> 
> I don't want to get js security prompt like
> a "a script" from 'http://...' has requested enhanced
> privileges... Do you wish to allow these privilegs"
> 
> I'd like to turn off this feature forever :)
> (In my paticular case it is not impotant).
> 
> Can I do it using mozilla's preferences
> (I could't find ...). I know how to do it
> for one site but I need to do it for all.
> 
> Or maybe there is only one approuch how to do it
> just hack mozilla's security.
> If it is correct. What is a best place to do it?
> 
> What could be solution for that?
> 
> Any help is very appreciated.
> 
> Eugene.
> 
I'm not sure if this is exactly what you're looking for but I hope it helps.
I got this blurb from the script editor website:

http://scripteditor.mozdev.org/installation.html

Installation

The Script Editor is a Web-based application and does not require 
anything to be downloaded in order to use it, but we do want to make the 
source available for anyone who is interested. The most recent version 
of the Script Editor is now available for download.

The new version of the Script Editor requires an M15 or later Milestone 
build of Mozilla. The Script Editor will not work with Netscape 6.

To run the Script Editor with the default Mozilla installation, you will 
need to alter the security settings by hand.

1. Add the following line to defaults/pref/all.js (this file is found in 
your Mozilla directory):

pref("security.checkxpconnect", false);

Please be aware that this setting is set to true by default to prevent 
remote XUL pages from unauthorized activity. Please remove this line 
when you are finished testing the Script Editor.

2. After making this change, you can launch the Script Editor using 
either of the following methods:

A bug in the current builds of Mozilla requires you to resize the window 
before the Script Editor can start.


Reply via email to