Stefan's Stuff

Anything I feel like sharing.

Firefox 3.5rc2 and "Flickr Comment Tools"

June 21st, 2009 · 1 Comment · Cool Stuff, Different

Flickr Comment Tools” is a great Greasemonkey script that I use everyday but under Firefox 3.5, it would not insert emoticons. Finally fixed it, It was a simple change that was driving me nuts… As I posted here:

view photostream S.D. Pro User says:

Got it.

Change this:

ifrm.contentDocument.execCommand('inserthtml',false,'<a title="Smilies" style="background:white !important;" href="http://www.ts0.com/flickrcommenttools/"><img align="absmiddle" style="vertical-align:middle;" src="'+this.url+'" border="0"></a>');

to:

ifrm.contentDocument.execCommand('inserthtml',false,'<a title="Smilies" style="background:white !important;" href="http://www.ts0.com/flickrcommenttools/"><img align="absmiddle" style="vertical-align:middle;" src="'+this.src+'" border="0"></a>');

Music I’m listening to now:
Nothing at the moment

Tags: ··