這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

LH Localforage

外掛說明

This plugin can greatly improve the user experience for your blog, by automatically and periodically saving fields like “just typed” comment (the content textarea input box in comment section), the visitors email, and vitors name (in the comment form).

The comment is saved using client side indexeddd (falling back to localstorage), this prevents loss of unsubmitted content.

This is similar like WordPress can remember your Name, Email, Website in comment area for the next visit, but WP Local Storage plugin extends this into next level, it can remember the actual unsaved comment (i.e. before hit submit button) so even the browser is crashed before the user hit save, it is okay! When the user came back, all “just type comment” will be still in there.

More importantly all data is saved client side, nothing is sent to the server. Thus maintaining visitor privacy!

安裝方式

  1. Upload the entire lh-localforage folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That is it!

常見問題集

Does this plugin require MySQL to run in the server side? (site owner)

No, as the plugin name suggested, it uses browser’s client side storage systems. So just drop this plugin into plugins directory then all good.

Does this plugin require cutting edge HTML5 supported browsers to run in the client side?

No, not really. This plugin supports most mainstream browsers such as IE8+, Firefox3+, Safari 3+ so most of your visitors will be looked after.

Can I see this in action in the wild?

Sure try this [example]: https://princesparktouch.com/2019/08/29/winter-2019-presentations/#respond , type in the comment (without submitting) section and refresh the broswer

Can this be extended?

More to add.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈LH Localforage〉的開發相關工作。

參與者

將〈LH Localforage〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.00 Marcg 16, 2019
Initial release.