Re:Wait, What's a Bookmarklet?
by davchana on Wednesday October 25, 2023 @05:46PM
(#38018824)
Cannot append. Can do everything else you ask. Either will download that one text content as text file, or can put it in the clipboard, and you manually have to open it & paste it.
[ Parent
| on HN ]
Perhaps if the bookmarklet opened a new url containing the text as a query parameter, and the url had a weird protocol instead of https:// — say it was snippy:// … and then you created a protocol handler on your machine for the “snippy” protocol …. And it saved the relevant query param to a file.
I can’t remember if I’ve done this before. It seems like something I’ve done.
I've done that too. I ended up just using a local webserver with some Python cgi scripts instead though. I found it more flexible and easier to remember how things worked that way.