chatiman wrote:
For exemple, I'd like have access to protected data
(properties of frames from others domains) without
warning the user about that.
Under netscape this is done by requesting UniversalBrowserRead
to the ProfileManager but this request user authorisation even
if the application is on the local disk.
Netscape allows the user to check a checkbox to remember the privileges
granted to the URL so it has some way of setting the privileges in the
preferences of the user profile of the browser user. Those preferences
are stored in a text file named prefs.js so you could edit that
preference file of the browser user.
Script itself can't do it without the user granting access, if it could
that would be a security problem.
Netscape also knows chrome applications that can be installed, such an
application then should have all privileges without asking the user but
of course the user has first to install the chrome application.
--
Martin Honnen
http://JavaScript.FAQTs.com/