Skip to content

Instantly share code, notes, and snippets.

@kentbrew
Created September 25, 2012 18:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kentbrew/3783755 to your computer and use it in GitHub Desktop.
Save kentbrew/3783755 to your computer and use it in GitHub Desktop.
Pinning from Chrome on IOS
Pinning from Chrome on IOS
This is fugly but it works. (As soon as Google opens up extensions in Chrome or allows bookmarklets to open in an existing tab, or Apple opens up the Share panel, I'll update.)
Install the bookmarklet:
1) Open up this gist on your iPad.
2) Bookmark this page.
3) Change the URL to this:
javascript:void((function(d){var%20e=d.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);d.body.appendChild(e)})(document));
4) Change the name to Pin It!
Done. Next time you find something you want to pin:
1) Open a new tab.
2) Open Bookmarks in the new tab.
3) Tap your Pin It bookmarklet and watch Chrome freak out. ("Chrome cannot open this URL.")
4) Copy the bookmarklet URL from the location bar. It will be the same URL you entered in step 3, above, starting with "javascript." If you're pinning a lot, just leave this tab open so you can avoid steps 1-3 in the future.
5) Go back to the tab you want to pin from.
6) Paste the bookmarklet URL into the location bar.
7) Hit Go on your keyboard.
Presto! You're pinning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment