maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   suppressing JavaScript save-local warnings for TiddlyWiki? (https://talk.maemo.org/showthread.php?t=21620)

BillSeitz 2008-07-05 11:40

suppressing JavaScript save-local warnings for TiddlyWiki?
 
I'm trying to use TiddlyWiki on an N810.

Every time it saves, I have to click through 5-6 security warnings about JavaScript saving locally.

Is there any way to turn off this alert (preferably just for this app/page)?

dont 2008-07-05 12:33

Re: suppressing JavaScript save-local warnings for TiddlyWiki?
 
Is this still true in Diablo?

(Ans: yes it still occurs in Diablo)

It is really annoying and pretty well makes the tablet useless for local webapps like TiddlyWiki.

Is this a bug or a design (mis-)feature?

Jessica of Starfall 2008-09-06 17:15

Re: suppressing JavaScript save-local warnings for TiddlyWiki?
 
I use Prism for TiddlyWiki. But it would be nice to be able to use the browser.

It makes sense to have this warning but it really should be possible to turn it off since there are situations in which you want to save things.

edit:
Wouldn't about:config be a possibility to configure the browser? I'm serching for the option....

Jessica of Starfall 2008-09-10 19:24

Re: suppressing JavaScript save-local warnings for TiddlyWiki?
 
Ok, now I have the solution. Hope you are still reading... or maybe someone else who is interested. Anyway:

1) close the browser
2) open /home/user/.mozilla/microb/prefs.js with vi or an other editor
3) add following lines to that file:
user_pref("capability.principal.codebase.p0.grante d", "UniversalXPConnect UniversalBrowserRead");
user_pref("capability.principal.codebase.p0.id", "file://");
4) save

See here for details: http://groups.google.com/group/Tiddl...e8868f62086fe3
And here is a vi manual, if you're not familiar: http://www.cs.fsu.edu/general/vimanual.html

berny 2008-09-16 22:09

Re: suppressing JavaScript save-local warnings for TiddlyWiki?
 
This worked for me a little differently.

I could not get microb to keep the settings. Whatever I tried, be it closing the browser before, rebooting before starting it again, the browser would just delete these lines on startup.

The following did work for me though. I opened a new browser window and typed "about:config" in the URL. The page that opened provided a way to add new lines to the configration. I added the entries from the post above and microb stopped asking for confirmation on save.

ARJWright 2013-04-25 01:50

Re: suppressing JavaScript save-local warnings for TiddlyWiki?
 
Quote:

Originally Posted by Jessica of Starfall (Post 222777)
Ok, now I have the solution. Hope you are still reading... or maybe someone else who is interested. Anyway:

1) close the browser
2) open /home/user/.mozilla/microb/prefs.js with vi or an other editor
3) add following lines to that file:
user_pref("capability.principal.codebase.p0.grante d", "UniversalXPConnect UniversalBrowserRead");
user_pref("capability.principal.codebase.p0.id", "file://");
4) save

See here for details: http://groups.google.com/group/Tiddl...e8868f62086fe3
And here is a vi manual, if you're not familiar: http://www.cs.fsu.edu/general/vimanual.html

This looks just like what I'm looking for on my N9. Problem is that I'm not seeing the path to this dike as it's placed here. Anyone got suggestions our amendments to what is above?


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

vBulletin® Version 3.8.8