diff --git a/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid b/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid index fa97f5963..60224bb8c 100644 --- a/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid +++ b/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid @@ -1,2 +1,2 @@ title: $:/config/BrowserStorage/SaveFilter -text: [is[tiddler]] +text: [all[]] diff --git a/plugins/tiddlywiki/browser-storage/icon.tid b/plugins/tiddlywiki/browser-storage/icon.tid new file mode 100644 index 000000000..bf3011bf4 --- /dev/null +++ b/plugins/tiddlywiki/browser-storage/icon.tid @@ -0,0 +1,12 @@ +title: $:/plugins/tiddlywiki/browser-storage/icon +tags: $:/tags/Image + + + + + + + + + + \ No newline at end of file diff --git a/plugins/tiddlywiki/browser-storage/plugin.info b/plugins/tiddlywiki/browser-storage/plugin.info index 6c3ecaf21..68dd147d2 100644 --- a/plugins/tiddlywiki/browser-storage/plugin.info +++ b/plugins/tiddlywiki/browser-storage/plugin.info @@ -1,6 +1,6 @@ { "title": "$:/plugins/tiddlywiki/browser-storage", - "description": "Local storage in the browser", + "description": "Browser-based local storage", "author": "Jeremy Ruston ", "core-version": ">=5.0.0", "list": "readme settings" diff --git a/plugins/tiddlywiki/browser-storage/rawmarkup.js b/plugins/tiddlywiki/browser-storage/rawmarkup.js index b4dafbc99..589b32af6 100644 --- a/plugins/tiddlywiki/browser-storage/rawmarkup.js +++ b/plugins/tiddlywiki/browser-storage/rawmarkup.js @@ -23,7 +23,8 @@ if(Object.prototype.hasOwnProperty.call($tw.hooks.names,hookName)) { // Load tiddlers from browser storage function hookBootTiddlersLoaded() { - var url = window.location.protocol === "file:" ? window.location.pathname : ""; + var url = window.location.protocol === "file:" ? window.location.pathname : "", + log = []; // Step through each browsder storage item for(var index=0; indexBrowser Storage Save Filter: <$edit-text tiddler="$:/config/BrowserStorage/SaveFilter" default="" tag="input" size="50"/> +! Custom Quota Exceeded Alert + This setting allows a custom alert message to be displayed when an attempt to store a tiddler fails due to the storage quota being exceeded: <$link to="$:/config/BrowserStorage/QuotaExceededAlert">Quota Exceeded Alert: <$edit-text tiddler="$:/config/BrowserStorage/QuotaExceededAlert" default="" tag="input" size="50"/> + +! Startup Log + +The tiddler $:/temp/BrowserStorage/Log contains a log of the tiddlers that were loaded from local storage at startup: + +<>