Hi Trevor

The problem is that recent versions of Firefox have disabled access to the
XPCom features that TiddlyWiki/twFile uses for filesystem I/O.

The TiddlyFox extension for Firefox at
http://github.com/TiddlyWiki/TiddlyFox provides a shim so that TiddlyWiki
can still save changes to itself. It may be possible for you to reuse or
adapt TiddlyFox for your purposes, but it is not currently planned to make
TiddlyFox be a general purpose file API, it is intended to be focussed on
self-modifying HTML files like TiddlyWiki.

You may also be interested in this Firefox extension that does attempt to
provide a general way for HTML files to raise privileges:

https://github.com/brettz9/asyouwish/

Best wishes

Jeremy



On Wed, Jan 16, 2013 at 6:30 PM, Trevor C <[email protected]> wrote:

> Hi all,
>
> I have tried to get the twFile.js and twFileDemo.html to save files on
> different browsers and it is working on Chrome, .IE and Safari.
> However a problem seems to occur when I try to save it on Firefox 18.
> I have debugged the error and it seems that Firefox 18 is returning false
> when it is checking if the Mozilla drivers are loaded/available.
>
> The error seems to be with the window.Components in the mozilla Driver
> section.
> A JS warning also appears in the console.
>
> The Components object is deprecated. It will soon be removed.
>
> netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
>
> Has it something to do with this? 
> https://developer.mozilla.org/en-US/docs/Bypassing_Security_Restrictions_and_Signing_Code
>
> Is there an extension that I can use to make it work in Firefox 18?
>
> Thanks in Advance.
> Trevor
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/tiddlywikidev/-/8Y1SmnALMEAJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/tiddlywikidev?hl=en.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to