Skip to content

Instantly share code, notes, and snippets.

Last active April 9, 2024 18:34
Show Gist options
  • Save kentbrew/142cb69124223a5d0f3b3fd7fc2c6bd0 to your computer and use it in GitHub Desktop.
Save kentbrew/142cb69124223a5d0f3b3fd7fc2c6bd0 to your computer and use it in GitHub Desktop.
How to recreate your long-lost Pinterest bookmarklet.

How to recreate your long-lost Pinterest bookmarklet.

Right-click your bookmarks bar and choose Add Page (Chrome) or New Bookmarklet (Firefox).

In Name, put this:

Pin It

In URL, put this:


For My Little Friend Safari:

  • open about:blank in a new window (this will help you not have to mess around with favicons later)
  • hit command-D
  • choose Favorites under Add this page to:
  • enter Pin It in the Name box
  • right-click the Pin It bookmarklet you just made and choose Edit Address
  • paste in the JavaScript from above

If You're Running Chrome or Firefox, Pinmarklet will Bother You to Install the Pinterest Browser Extension

  • From time to time you'll see a big banner in the image grid, begging you to please install the extension.
  • If you don't want to install the extension, click the "no, thanks" button to set a two-week cookie.

Why you Might Want the Extension After All

  • Pinning with the extension is much better, especially if you pin a lot. You'll have free hovering Save buttons (which you can turn off in Settings) and you can right-click and pin an image without the intervening wait-for-the-grid / pick-an-image cycle.
  • Pinning happens right there inline instead of in a pop-up window.
  • You also get Visual Search for free. Right-click the body of the page to search a full screenshot, or choose the hovering selector button to search an individual image.
Copy link

SeeJaneB commented Mar 8, 2024

Ahh, thank you so much for this simple solution. I'm still a user of the Pin It button, but I needed to add it in a different chrome profile. The last time I used the extension, I couldn't stand the Save buttons plastered all over the images on every website or having to turn them on and off when I wanted to pin something, if I remember correctly. It's been a while since I tried it, but I went back to the Pin It button and it satisfies my needs better than the extension.

Copy link

Works great in Safari v17. Can only select one photo to pin each time you run the script, but it's a great workaround until Pinterest gets over their Apple antipathy and releases a native extension. (or until Apple decides to become more developer-friendly 🙄 hah!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment