Wednesday, 23 January 2008

Greasemonkey!


Greasemonkey, originally uploaded by Me (?).


Today I finally got round to rewriting my one and only Greasemonkey script for Flickr. The script generates the HTML that the "Blog This" button on Flickr will do. I prefer to write my blog directly in blogger rather than use the Flickr page as I can edit and see previews with blogger.

I originally wrote a script last year but that only worked on your own photos. This new version works for any photo that allows you access to the "All Sizes" page.

The script is useful if you want to blog more than one photo or choose different size pictures. It includes the photo credit caption and links back to the original page.

e.g.

Greasemonkey, originally uploaded by Me (?).


Greasemonkey, originally uploaded by Me (?).


Greasemonkey, originally uploaded by Me (?).


And I can now blog other people's photos. Here is one from my favourites:

big laugh, originally uploaded by blissintothedarkofme (?).


The script requires Firefox with the Greasemonkey addon. My script can be found at UserScripts.org.



*Edit* Here is a screen shot of what the script does. It adds the final block of text that starts 'To link to this photo from your blog...' and the edit box containing the code to copy. See screenshot to the right.


2 comments:

Yash said...

can you post a screenshot of how the flickr page looks with the script enabled?

simon said...

Done :-)