Open lol768 opened 5 years ago
Can you use history.replaceState so the browser history doesn't get filled with spam after each keystroke in the editor? :)
history.replaceState
https://github.com/jstrieb/urlpages/blob/562416439512a7f7b13812a37356ac3cbcd1ca3e/editor/editor.js#L118
history.replaceState({}, "", "/urlpages/editor/#" + window.btoa(JSON.stringify(data)));
Great idea. Can you make a PR with that change?
Can you use
history.replaceState
so the browser history doesn't get filled with spam after each keystroke in the editor? :)