On Thursday, May 21, 2015 at 5:39:48 AM UTC-7, Andy Pastuszak wrote:
>
> I know of the limits Google Chrome's sandbox imposes on Tiddlywiki's 
> ability to save files.  Is it possible to write an extension for Chrome, 
> the way someone has for Firefox, to get TW saves to work?
>

Let's be clear here:

Chrome is not "sandboxing" when it saves using the "download saver" method. 
 It saves directly to your local filesystem, just like downloading a file 
from a remote host.  "Sandboxing" a file occurs when using the HTML5 
FileWriter() functionality, which puts the file into the browser's 
LocalStorage, so it is not a "real" file, and can only be accessed from 
within the browser, by using the HTML5 FileReader() functionality.

The only practical difference between the "download saver" method and 
something like the TiddlyFox add-on, is how much interaction is required 
during the saving process.  With TiddlyFox, the file can be saved directly 
back to it's current location without any additional prompting, while the 
download saver either uses the default "Downloads" folder, or asks for a 
folder and filename (if you have configured your browser to do so using 
Chrome's Settings>AdvancedSettings>Download to choose the "always ask" 
option.

Having said all that.... based on my quick scan of
   https://developer.chrome.com/apps/fileSystem
It does seem that Chrome can do real File I/O from an add-on, so it may be 
possible to create "TiddlyChrome".  However, I have *no* knowledge of how 
to write a Chrome add-on, so someone else will have to step up.

enjoy,
-e
Eric Shulman
ELS Design Studios
TiddlyTools - "Small Tools for Big Ideas!"
InsideTiddlyWiki: The Missing Manuals

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/755e219c-1730-42c2-8243-afa3c2bb367f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to