maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   MicroB - 'Read private data from any site or window' (https://talk.maemo.org/showthread.php?t=12120)

dont 2007-11-22 20:32

MicroB - 'Read private data from any site or window'
 
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.

tomas.rollo 2007-11-24 19:50

Re: MicroB - 'Read private data from any site or window'
 
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


All times are GMT. The time now is 18:07.

vBulletin® Version 3.8.8