Active Topics

 



Notices


Reply
Thread Tools
Posts: 334 | Thanked: 55 times | Joined on Aug 2007 @ Eastern Ontario, Canada
#1
I am trying to run a local (i.e. a file on my IT) html/Javascript application in my 770 (OS2007HE).

This app wants to 'Read private data from any site or window'. I am confidant in the provenance of this application.

When I try this app in Firefox on WinXP box I get 3-4 dialog boxes to accept and then I am away to the races. I think that it asked if I wanted to remember that decision - which I did.

On the 770 it looks as if it is asking me on each and every suspect operation - which is way too many for me.

Is there a configuration setting that will allow me to say either that a site is trusted, or to make MicroB remember that I have already given permission for this site.
 
Posts: 4 | Thanked: 3 times | Joined on Nov 2007
#2
It can be done, but not via the MicroB UI. You need to put following lines into your user.js file (it's not created by default, so create it in ~/.mozilla/microb/):

user_pref("capability.principal.codebase.p0.grante d", "UniversalXPConnect");
user_pref("capability.principal.codebase.p0.id", "file:///home/user/some_dir/your_file.html");
user_pref("capability.principal.codebase.p0.subjec tName", "");

This tells MicroB that the user has already given the UniversalXPConnect privilege for the file your_file.html to be able to read and write local files.

See http://my.opera.com/Andrew%20Gregory...how.dml/405642

Hope this helps
 

The Following 3 Users Say Thank You to tomas.rollo For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 11:59.