Hi Ton,

you may also be interested in Timimi for TWC 
<https://groups.google.com/forum/#!topic/tiddlywikiclassic/TCuPSb2uMfQ>, 
it's quite handy with FF, although the Timimi's advanced backups system is 
not supported yet for TWC.

As for your initial problem, try to disable 
security.fileuri.strict_origin_policy option in your FF's about:config. I 
suspect that the culprit is recreateOriginal 
<https://github.com/TiddlyWiki/TiddlyWiki/blob/master/js/Saving.js#L105> 
which doesn't take into account some aspects of saver plugins; current 
Timimi implementation has a similar issue 
<https://github.com/ibnishak/Timimi/issues/27>, which I haven't reproduced 
yet but I'll check my guess too.

Best regards,
Yakov.

вторник, 6 августа 2019 г., 21:38:45 UTC+3 пользователь Ton Gerner написал:
>
> Hi all (and especially Mario),
>
> System in use:
> Linux Mint 19.2
> Firefox 68.01 & Firefox dev 69.0b10
> TWc 2.8.1
>
> I am a very satisfied user of Mario's File Backups; I use it for a lot of 
> TW5 wikis. I use it for a few TWc wikis as well and there started a problem 
> a few days ago. I saved a (big and heavily modified) TWc wiki. After 
> refreshing the browser tab I got the following error message:
>
> [image: File-backups.png]
>
>
> After clicking OK the TWc wiki did not load anymore. Comparing the wikis 
> before and after saving showed differences at 15 places (only the first and 
> last change important); see the P.S.
>
> Thereafter I did some tests with a Minimal Test Case (empty TWc 2.8.1; 
> closing/restarting FF in between tests)
>
> Test 1: standard FF (all add-ons enabled) => error message after 
> saving/refreshing but wiki reloads normally
> Test 2: standard FF (all add-ons disabled except File Backups) => error 
> message after saving/refreshing but wiki reloads normally
> Test 3: standard FF (reinstalled FB, other add-ons disabled) => error 
> message after saving/refreshing but wiki reloads normally
> Test 4: FF dev (all add-ons disabled except File Backups) => error message 
> after saving/refreshing but wiki reloads normally
> Test 5: empty 2.9.2 standard FF (all add-ons disabled except File Backups) 
> => error message after saving/refreshing but wiki reloads normally
>
> Comparing the TWc wikis before and after saving showes differences at 3 
> places:
>
> *empty 281 before save:*
>
> <!--PRE-HEAD-END-->
> <title>
>
> </title>
>
> ...
>
> <div id="storeArea"></div>
>
> ...
>
> <!--POST-SCRIPT-END-->
> </body>
> </html>
>
>
> *empty281 after save:*
>
> <!--PRE-HEAD-END-->
> <title> My TiddlyWiki - a reusable non-linear personal web notebook 
> </title>
>
> ...
>
> <div id="storeArea">
>
> </div>
>
> ...
>
>
> !--POST-SCRIPT-END-->
>
>
> <div id="tiddlyfox-message-box" style="display: none;" 
> data-message-box-creator="file-backups"></div></body></html>
>
>
> The same differences can be seen with TWc 2.9.2.
>
> What strikes me most is the fact that it does not happen with Windows 10 
> and FF 68.01! Even the heavily modified TWc saves/reloads without 
> message/problems!
>
> File Backups works perfectly with TW5!
>
> Questions:
>
> 1) Is it possible that FF 68.01 behaves different under Windows 10 then 
> under Linux Mint?
> 2) Can someboy confirm my findings with Linux Mint (Ubuntu/Debian) & FF?
>
> Thanks in advance,
>
> Ton
>
> P.S. In the heavily modified TWc 15 changes were found after saving:
>
> 1) Some code had been deleted after the head section:
>
>
> <body onload="main();" onunload="if(window.unload) unload();">
>
> 2) ..14) Unimportantant changes (order of items; mainly plugin headings)
> 15) The added div at the end:
>
>
> <div id="tiddlyfox-message-box" style="display: none;" 
> data-message-box-creator="file-backups"></div>
>
> Removing the div and adding the deleted code (in a text editor) created a 
> working TWc again.
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/c2c9860c-07bf-4df1-a8fb-20691ad95da1%40googlegroups.com.

Reply via email to