
So I recovered from my migraine (see yesterday’s post) and I was wondering what my new buddy @hurtlocker was doing. I am subscribed to his posts, but I have so many people on my friend’s list that I often miss posts unless I go to peoples’ pages directly.
Anyway, so I was going to do what I always do, which is type the full PeakD URL: https://peakd.com/@hurtlocker. Sometimes it will autocomplete that URL for me, but since my adblock extension automatically clears the history every few days, I can’t rely on that autocomplete always working.
Then it occurred to me: why am I typing these full profile URLs when I could auto complete most of that URL with a script.
My first thought was to use my favorite app, Keyboard Maestro, to make a shortcut extension. Say, type something like “pdp” (for “PeakD profile”) and it will autofill in https://peakd.com/@ leaving me to finish the name.
While I would usually do that, I thought I might make something more shareable with non-Mac users — which I assume most of the people on Hive are. So I made a simple bookmarklet.
When you click on the bookmarklet, this window will pop up

fill in the username and hit enter and you will go directly to their PeakD page.
Sweet!
(btw, that "www.google.com says" part is just the title of the page you are on when you activate the bookmarklet. Nothing important.)

If you want to use it, bookmark any URL. Anything at all. Then open up your bookmark editor. Replace the Title with something like “Profile lookup” and the URL with this:
javascript:(function(){var u=prompt("PeakD username (no @):","");if(u)location.href="https://peakd.com/@"+encodeURIComponent(u)})();

I recommend putting the bookmarklet in your bookmarks bar to make clicking it easier.
If you want the non-minfied code so you can modify it, here you go:
javascript:(function(){
var u = prompt('PeakD username (no @):','');
if (!u) return;
location.href = 'https://peakd.com/@' + encodeURIComponent(u);
})();

So yeah, it’s super simple, but over time it will save me some typing, and that will add up. Hope you can enjoy it too.
Have fun!
❦
![]() |
David is an American teacher and translator lost in Japan, trying to capture the beauty of this country one photo at a time and searching for the perfect haiku. He blogs here and at laspina.org. Write him on Bluesky. |

That's really awesome! Way to optimize your workflow! :)