> I'm using Windows7 Home Premium and TW 2.6.5
> Up to Firefox 16.x (with TiddlyFox 1.0alpha3) the mentioned plugin worked
> as expexted.
> After upgrade to FF 19.x launching an application silently fails. (due to
> security restrictions?)
> Temporary workaround: back to FF16. (but this is not a solution).
>
> Is there any way to get a safe solution ?

Launching an application from FireFox is, of course, a privileged
function.  Unfortunately, due to tightened security, privileged
functions in FireFox are no longer available... at least, not from
within javascript that is loaded from an HTML page.  However, the
privileged functions are not actually gone from FireFox: rather, they
are only accessible from 'secure' code that is loaded as a FireFox
browser plugin.

This is how TiddlyFox provides file I/O (read/write) access for
importing and saving.  The plugin sets up a 'listener' that responds
to events sent from the TiddlyWiki document.  When saving a TW, the
document prepares the file output and stores it in a temporary DOM
element.  Then, the document sends a message to TiddlyFox, which reads
the content from the DOM element and invokes the secure file I/O to
write the file.

The only way to restore the LaunchApplicationPlugin function would be
to write a FireFox plugin that, similar to TiddlyFox, handles secure
requests to launch applications.  Then, modify the
LaunchApplicationPlugin to generate the appropriate data and events to
submit a 'launch request' to the FireFox plugin.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to