Hi Charlie,

> Then that will be the glaring difference between my work and the plugin.

I still don’t understand what you meant. What is the glaring difference?

> Well, the plugin is really  for the benefit of a TiddlyWiki's owner.  What I 
> am doing is for the benefit of the TiddlyWiki viewers.

Are you referring to your idea of using local storage to transfer data between 
wikis in the same browser?

Best wishes

Jeremy

> 
> Something like that.  It is a moving target ...
> 
> On Friday, March 11, 2022 at 1:09:03 PM UTC-4 jeremy...@gmail.com 
> <http://gmail.com/> wrote:
> 
>> Oh, I mean somebody else's TiddlyWiki putting things in my local storage 
>> without my "yes, I agree" (i.e. "yes, I opt-in") consent.
> 
> That's hard to prevent in general:  HTML pages don't need user permission to 
> write to local storage.
> 
> In the case of the browser-storage plugin, steps are taken to separate the 
> data from wikis on different file URIs (the key names used to store the 
> tiddlers are qualified with the location of the file).
> 
> Best wishes
> 
> Jeremy
> 
> 
>> 
>> On Friday, March 11, 2022 at 1:02:55 PM UTC-4 jeremy...@gmail.com 
>> <applewebdata://DF665009-3C91-440A-8AE4-3A551AA00F11> wrote:
>> Hi Charlie
>> 
>>> Quite awesome, except for one thing: it is opt-in by default, right?
>> 
>> I'm not sure what you mean. If you referring to the fact that on the demo 
>> that I linked the browser-storage plugin is activated by default, it is 
>> possible to leave it set disabled, and expose a checkbox or something for 
>> the user to enable it for themselves.
>> 
>> Best wishes
>> 
>> Jeremy
>> 
>> 
>>> Within the boundaries of the filter, it is an all-in / all-out option, by 
>>> default all-in for the viewer of that TiddlyWiki ?
>>> 
>>> I cannot stand "opt-in" by default, leaving the user with the manual effort 
>>> of opting out, whatever/wherever/whenever it is.
>>> 
>>> The thing I'm setting up, it is "opt-out" by default, and selective opt-in 
>>> for every little thing a viewer wants.  A manual step that could offer an 
>>> option of full-auto if I ever add that in.
>>> 
>>> If there is a way to do that kind of thing with the plug-in, that would be 
>>> a really wonderful thing to document.
>>> 
>>> On Friday, March 11, 2022 at 12:37:25 PM UTC-4 jeremy...@gmail.com <> wrote:
>>> Out of the box, the browser-storage plugin saves $:/state/ tiddlers (apart 
>>> from $:/state/temp/ tiddlers) and thus most of the UI state. There’s no 
>>> configuration beyond installing the plugin and restarting.
>>> 
>>> To make it save all configuration such as which toolbar buttons are hidden 
>>> would require changing the “save filter” to:
>>> 
>>> [prefix[$:/config/]] [prefix[$:/state/]] -[prefix[$:/state/popup/]]
>>> 
>>> Best wishes
>>> 
>>> Jeremy
>>> 
>>> 
>>>> On 11 Mar 2022, at 13:26, Charlie Veniot <cj.v...@gmail.com <>> wrote:
>>>> 
>>> 
>>>> It would be some nice if somebody put together a video and/or some 
>>>> documentation on how somebody can plop a TiddlyWiki out there on the web, 
>>>> and set it up so that viewers can set their own viewing preferences for 
>>>> that TiddlyWiki, such that every time he/she visits that TiddlyWiki, it 
>>>> always displays with their preferences.
>>>> 
>>>> And whenever the author of that TiddlyWiki publishes a new version with 
>>>> updated content, viewers still have their preferences working.
>>>> 
>>>> That would be pretty cool.
>>>> 
>>>> On Friday, March 11, 2022 at 4:44:31 AM UTC-4 jeremy...@gmail.com 
>>>> <http://gmail.com/> wrote:
>>>> Charlie's post on browser storage 
>>>> (https://groups.google.com/g/tiddlywiki/c/l-1YLy0xpJo/m/mreI115qAgAJ 
>>>> <https://groups.google.com/g/tiddlywiki/c/l-1YLy0xpJo/m/mreI115qAgAJ>) 
>>>> prompted me to post a reminder about the official browser-storage plugin. 
>>>> Charlie is exploring many interesting use cases for browser storage, but 
>>>> that particular post covers the same functionality as the browser-storage 
>>>> plugin.
>>>> 
>>>> The browser-storage plugin automatically writes any modified tiddlers to 
>>>> browser storage. It only writes tiddlers that match a filter, which one 
>>>> can set to [all[]] to save all tiddlers, or something like 
>>>> [prefix[$:/state/]] -[prefix[$:/state/popup/]] to just save state tiddlers.
>>>> 
>>>> At startup, the browser-storage plugin reads tiddlers from local storage. 
>>>> Any tiddlers that are identical to those built into the file are deleted 
>>>> from local storage. Once the wiki is up and running, any tiddler changes 
>>>> are written straight to local storage.
>>>> 
>>>> To try it out:
>>>> 
>>>> Visit 
>>>> https://tiddlywiki.com/editions/full/#%24%3A%2Fplugins%2Ftiddlywiki%2Fbrowser-storage
>>>>  
>>>> <https://tiddlywiki.com/editions/full/#%24%3A%2Fplugins%2Ftiddlywiki%2Fbrowser-storage>
>>>> Click on the "settings" tab of the plugin
>>>> Scroll down to the heading "Save Filter", and change it to "[all[]]"
>>>> Create or modify some tiddlers
>>>> Refresh the page
>>>> Observe how the changes are restored
>>>> As discussed in the plugin readme, there are some gotchas with browser 
>>>> storage, but it can still be useful in many situations.
>>>> 
>>>> Best wishes
>>>> 
>>>> Jeremy.
>>>> 
>>>> 
>>> 
>>>> -- 
>>>> 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 tiddlywiki+...@googlegroups.com <>.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/tiddlywiki/a96db56b-045c-43ab-8fd3-47fbaf130464n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tiddlywiki/a96db56b-045c-43ab-8fd3-47fbaf130464n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>> 
>>> 
>>> -- 
>>> 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 tiddlywiki+...@googlegroups.com <>.
>> 
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/edeb8fc7-33b4-49fc-a99e-960244fc18a7n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/edeb8fc7-33b4-49fc-a99e-960244fc18a7n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> 
>> 
>> -- 
>> 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 tiddlywiki+...@googlegroups.com 
>> <applewebdata://DF665009-3C91-440A-8AE4-3A551AA00F11>.
> 
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/cdc72edc-9998-4d99-82ff-5b1e86079bb7n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/cdc72edc-9998-4d99-82ff-5b1e86079bb7n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 tiddlywiki+unsubscr...@googlegroups.com 
> <mailto:tiddlywiki+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/af0d4fe5-1a94-4036-bcf5-0c64aa6fcc43n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/af0d4fe5-1a94-4036-bcf5-0c64aa6fcc43n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4F72E5ED-58E3-4941-81E8-CAF4C673A0B4%40gmail.com.

Reply via email to