News for hackers. Stuff that matters.
Re:Writing a tiny undo/redo stack in JavaScript by julik on Wednesday March 26, 2025 @06:39PM (#43488287)
Well, hooking into system undo is tricky as there still seems to be no native web platform thing for that. I see all kinds of things like https://github.com/samthor/undoer but the article was about the foundation, rather than the integration. For what I am doing, shortcuts + clickable buttons on screen will do the job.
Re:Writing a tiny undo/redo stack in JavaScript by hyperhello on Wednesday March 26, 2025 @11:26PM (#43490116)
If you're interested, [plug] here is my technique, just a page of script.

https://hypervariety.com/NativeBrowserUndo/NativeBrowserUndo...