1. 37
  1.  

    1. 6

      I’m a big fan of bookmarklets, using them as a kind of builtin userscript manager. I’m a bit nervous about having yet another extension with access to all sites (especially since none of them on Firefox are recommended by Mozilla, which I think is a stricter review process). I hadn’t thought about using protocol handlers to export data from the browser: that’s very interesting. This is also yet another article that makes me realise just how little of Org Mode and Emacs I actually use.

      For making bookmarklets easier to use, I recommend giving them a keyword in Firefox so you can run them from the URL bar without using the mouse.

      Here are some JavaScript snippets/bookmarklets I find useful:

      And one I wrote as a joke: a “debouncer” for Discord that hides messages that were sent while you weren’t online.

      1. 8

        There was a thread where people shared their bookmarklets in the past: https://lobste.rs/s/vjdc18/bookmarklets_do_you_use_them_if_so_wanna

      2. 2

        How do you like to run your bookmarklets? I have the bookmarks navbar hidden to save screen space and so bookmarklets are always hidden enough for me not to think about them.

        1. 4

          You can tag them and search the address bar by tag. I think defining them with a meaningful function name also helps the address bar search. Like so:

          (function myfunction() {
            // stuff … 
            prompt("here is your thing", result); 
          })()
          
          1. 1

            Thank you!

          2. 1

            I have a couple that I use all the time, like ‘scroll to top/bottom’, so I have them on my bookmarks toolbar itself. For the rest, I have them in a subfolder inside my bookmarks toolbar.

            1. 1

              What’s wrong with Home/End buttons?

              1. 1

                Not available on typical Mac laptop keyboards, and even if they were, often my hand is on the touchpad so it’s just more convenient to tap on a button instead of moving my head to a key.