Skip to content

Instantly share code, notes, and snippets.

@Thomashighbaugh
Created November 28, 2023 04:42
Show Gist options
  • Save Thomashighbaugh/005458d42c2f51d6a85e8341cbd556e4 to your computer and use it in GitHub Desktop.
Save Thomashighbaugh/005458d42c2f51d6a85e8341cbd556e4 to your computer and use it in GitHub Desktop.

Getting Pinback to Work With Firefox Versions That Are Not Bookmarklet Friendly

  1. Go to the GitHub repository for Pinback and open up the the file pinback.js
  2. Click the button for Raw and when that opens, Ctrl + a then Ctrl + c
  3. Go to your pintrest user name logged in like the regular instructions
  4. Open up the developer tools by hitting F12 then click the tab for Console that will open up a command-prompt/terminal like line. This will run Javascript locally, which is useful for things like this especially
  5. Now paste the content into the console with ctrl + v and hit Enter (or Return if you are using an Apple keyboard)

Boom! Now It Runs As Expected

It should have thus run as expected on the page, sine the bookmarklet was essentially just a minified version of that in the form of a function that would run when the bookmarklet was pressed. Since Firefox doesn't allow this (for good reasons in my humble opinion), you just have to do it manually. Thankfully the authors provided us with the source code to do it ourselves and it works like a charm this way.

You could also just use Chrome for this, sure and that may be what you actually did give this was 4 years and ~60 version of Firefox ago but for anyone adverse to using Chrome, unable to install it on the machine they are using or whatever other reason that they might need to instead just use Firefox, now you know how.

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