Simple Sharing Buttons Generator v2.7

Posted on May 27, 2015

Version 2.7 is mainly a visual refresh, making the site navigation and description more simple.One ongoing issue is the JavaScript version of the Pinterest sharing button. The problem is a missing detection of a thumbnail image.

A user of the site sent me this code:

<a href=‘javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src',''+Math.random()*99999999);document.body.appendChild(e)%7D)());’>IMAGE OR TEXT HERE</a>

Note that this uses a script from Pinterest, which may or may not also do other things than just sharing your site. (I haven’t checked the source code myself yet.)

It would be pretty much impossible to write a simple script that will automatically always get the correct image, so I need to create a more robust solution where the visitor will be able to select an image that should be used. Stay tuned for more updates.