skip to Main Content

A client has a oscommerce webshop with loads of interesting stuff for people to pin on pinterest, only the pin it bookmarklet won’t work. I’ve searched everywhere on the web but couldn’t find anything worthwhile about this so I’m hoping anyone here can help me.

When I click the bookmarklet nothing shows up, but when I open firebug suddenly the pinterest overlay pops up with all the images. Once everything 10 times a pinterest alert show up saying “Sorry but we can’t see any big images or videos on this page”. The firebug console doesn’t give me anything usefull so I’m a bit out of ideas.

3

Answers


  1. Chosen as BEST ANSWER

    Okay, after some more poking around I found a reference to improper DOCTYPE's screwing up some bookmarklets in Chrome. I checked against some other sites and changed all the

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    

    into

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    

    And now it works!

    As a side note, the bookmarklet also doesn't catch the images etc in frames, so that might screw up some sites also.


  2. I had a similar problem on my girlfriend’s WordPress blog.

    The issue was that I had images that had the names of “a”, “b”, “c”, “d” (because I was lazy when coding some JS OnMouseOver rollovers). These names were causing the bookmarklet to not load – once I changed the object names, the bookmarklet loaded everything just fine.

    Login or Signup to reply.
  3. One reason it may not work is if your site is https and the bookmarklet is old.

    I noticed the Pinterest bookmarklet did nothing on our site.

    The Chrome Web Inspector revealed: “[blocked] The page at https://example.com/foo ran insecure content from http://assets.pinterest.com/js/pinmarklet.js?…”

    The current version of the bookmarklet is fixed to work on https sites, though of course you can’t rely on your visitors to be up to date.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search