This article was written in 2010. It might or it might not be outdated. And it could be that the layout breaks. If that’s the case please let me know.

A Ffffound bookmarklet for Flickr

Some pictures on Flickr are harder to bookmark on Ffffound than others. For some reason Flickr puts a transparent gif on top of the image. If you try to bookmark this image to Ffffound you actually bookmark the empty gif. I wrote a bookmarklet to hide that gif. Drag this link, My Ffffound, to your bookmark bar and hit it instead of the regular Ffffound bookmarklet, it just works like the original bookmarklet on other sites.

This is the code

javascript:(function(){var%20a=document.getElementsByTagName('img');l=a.length;
while(l--){if(a[l].src=='http://l.yimg.com/g/images/spaceball.gif'){
 a[l].style.display='none'}}})();
void((function()%7Bvar%20e=document.createElement('script');
e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');
e.setAttribute('src','http://ffffound.com/bookmarklet.js');
document.body.appendChild(e)%7D)());

If you have any suggestions or additions for this code please let me know.
I only tested it on Firefox and Safari. It should work on other browsers. If not, let me know.

Comments

    • kana
    • #

    gyogyo.

  1. dfg aergteg