Prevent Edit plugin for plugin developers

https://tw-cpl.netlify.app/#linonetwo%2Fprevent-edit

This plugin makes your demo site doesn’t pop up “Don’t leave, you may have unsaved change!”

I think a user won’t leave important data on a demo site. And this popup is somehow makes the experience of the demo site not so smooth.

Its source code is just 3 lines tiddlywiki-plugins/preventPopUp.js.tid at b2d3d006671fadc8d19c340dc3e50419612d08a0 · tiddly-gittly/tiddlywiki-plugins · GitHub

7 Likes

This may be a nice option for some, on the other hand setting up the Browser Storage plugin sothe retain there modifications (in their browser) has more functionality.

The browser storage occurs independently of the save so this may work well with the browser storage.