Maybe the entire page could be a self-updating data-url?
edit: I tried this and common browser security no longer allows this type of thing. 10 years ago it may have worked.
edit: I tried this and common browser security no longer allows this type of thing. 10 years ago it may have worked.
data:text/html,<body contenteditable oninput="history.replaceState(0,0,'%23'+btoa(document.body.innerHTML))" onload="if(location.hash)document.body.innerHTML=atob(location.hash.substring(1))">#SGVsbG8sIHdvcmxkIQ==Much better than a relying on an HTTP response from someone else's computer.
How can I silence the Firefox security error messages?
Anyway this one works in FF with my settings
https://gist.github.com/joakin/f05fd565e8df77a805e21d2d3469d...