News for hackers. Stuff that matters.
Re:A bookmarklet to kill sticky headers by ashtonmeuser on Saturday February 01, 2025 @05:15PM (#42902980)
Bookmarklet aficionado and maintainer of bookmarkl.ink here. Took the liberty of posting this bookmarklet: https://bookmarkl.ink/ashtonmeuser/849a972686e1505093c6d4fc5...
Re:A bookmarklet to kill sticky headers by stevage on Saturday February 01, 2025 @06:20PM (#42903604)
Wow, the Doom bookmarklet is kind of cool. https://bookmarkl.ink/ashtonmeuser/04710d3befc446e849108a587...

It seems there isn't a way to browse existing bookmarklets, other than the small, curated lists?

Re:A bookmarklet to kill sticky headers by OuterVale on Saturday February 01, 2025 @07:53PM (#42904338)
I'm not seeing any way to browse them either. I'd love such a feature.
Re:A bookmarklet to kill sticky headers by ashtonmeuser on Saturday February 01, 2025 @08:21PM (#42904582)
Thanks! Re: listing bookmarklets, that's something I'd like to do but have yet to find a cheap/easy way to do it. One way would be to search gists for relevant metadata [1] but GitHub does not include searching gists in their API. Another way might be logging paths in an edge function. Open to suggestions/PRs.

[1] https://gist.github.com/search?q=bookmarklet-title

Re:A bookmarklet to kill sticky headers by quickslowdown on Saturday February 01, 2025 @06:06PM (#42903452)
Nice, this is very cool, thanks for the work & for sharing :)
Re:A bookmarklet to kill sticky headers by RheingoldRiver on Saturday February 01, 2025 @08:33PM (#42904679)
I have a couple bookmarklets scattered in a couple blog posts that you may find interesting / want to add:

* https://river.me/blog/bookmarklet-stay-here/

* https://river.me/blog/firefox-keep-bookmark-keywords/

* https://river.me/blog/url-bar-is-a-cli/

Re:A bookmarklet to kill sticky headers by ashtonmeuser on Saturday February 01, 2025 @08:50PM (#42904816)
Your wish is my command.

- https://bookmarkl.ink/ashtonmeuser/a36be4b6c835276f1a22a8c49...

- https://bookmarkl.ink/ashtonmeuser/a36be4b6c835276f1a22a8c49...

- https://bookmarkl.ink/ashtonmeuser/a36be4b6c835276f1a22a8c49...

Interestingly, in the URL CLI article, you mentioned the difficulty of maintaining such bookmarklets. That was a huge motivator for bookmarkl.ink. You can keep your verbose, commented code in a gist while the actual bookmarklet is tree shaken, stripped of comments, minified, and encoded. As of late, you even get some creature comforts like TypeScript support. Finally, every gist is a repo behind the scenes so you get version control for free.

Re:A bookmarklet to kill sticky headers by RheingoldRiver on Saturday February 01, 2025 @09:30PM (#42905077)
ohhh I thought it was primarily a repository for people to browse each other's bookmarklets, I am going to check it out if it would let me do my management in a more sane manner! I am still using the system in that blog post with regex and deletion+reimporting when I need to update several at a time (which is not that uncommon) and I still hate it haha

thanks!!

Re:A bookmarklet to kill sticky headers by m0d0nne11 on Sunday February 02, 2025 @08:18AM (#42908443)
Aficionados will appreciate Jesse Ruderman's bookmarklets at https://www.squarefree.com/bookmarklets/ which have been saving my sanity since the early 2000s.
Re:A bookmarklet to kill sticky headers by vidyesh on Sunday February 02, 2025 @09:09AM (#42908718)
I love this project! I used to use a lot of bookmarklets, but lost a lot of them and couldn't find all I used to use. Is it possible for you to create a directory or listing for all the hosted bookmarklets, but that might need curation too.