Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Google Image Relinker

Rewrites Google Image Search links to point straight to the pictures




Jun 10, 2007
nitro322 Scriptwright

Just a quick FYI: The previous link I posted for my modified script, which adds a direct link to the website under the images, no longer works. The script can now be found on this page:

http://www.legroom.net/howto/firefox

Sorry for the inconvenience.

 
Dec 19, 2006
Openbah User

Great script, works perfectly. Thanks!

 
Aug 11, 2006
SanskritFritz Scriptwright

Thank you nitro322, this is exactly what I needed! Great stuff!

 
Aug 10, 2006
thorbenhauer Scriptwright

@Dan http://userscripts.org/scripts/show/5082

 
Jul 26, 2006
nitro322 Scriptwright

SanskritFritz (and anyone else interested), you can grab a modified copy of the from here:
http://www.legroom.net/modules/Open_Source/fire...

I hacked this together a while back, so I don't recall if it's based on FurYy's suggestion of it it's something else I came up with, but it does the job nicely. You're more than welcome to it.

 
Jun 12, 2006
SanskritFritz Scriptwright

[b]Patrick[/b], thanks for that useful script!
[b]<u>YM</u>[/b], please provide me with the hacked version of the script. I tried to apply the suggestions made by FurYy below, but something went wrong, and I got some veeeery looong links under the pictures :-(
Email me at greasemonkey@mailbox.hu please.

 
Jun 1, 2006
Dan 1 User

Any way you can make a copy of this script for the Yahoo Images search? Yahoo Images Relinker would make my life complete. :-)

 
Apr 17, 2006
YM Scriptwright

I love the script, and I have a working version based on FurYy's method of adding links to the web site. It replaces the domain text (the third line below the image) with a link to the web page. I'd be glad to show you my changes.

 
Apr 14, 2006
Votu83 User

Anyone know how to make this work for Blingo images?

 
Jan 11, 2006
Robert Soros. User

It's absolutely frustrating that this one script has not worked for me because I really really want it to :-) For example, with the script installed and doing an image search for the term "korat" (safesearch turned on, it should bring up a bunch of cat pictures.) At the bottom of the first page of pictures, there is one yellowish picture sized 800x600,

"800 x 600
800 x 600 pixels - 104k - jpg
www.katter.nu"

Well, just clicking the link brings me to

http://www.katter.nu/special/korat/bak.htm

or if I "right click->copy image location" on top of the image, i get this location,

http://images.google.com/images?q=tbn:GsMZYnlX8...

(I was under the impression that the script would obliterate the first part of the link I just pasted, everything from the start (http) to the second colon (lX8vUJ:) and write that as the clickable link)

 
Dec 25, 2005
Desconocido User

Very useful! thanks

 
Dec 13, 2005
Mark Swartz User

wonderful ... thanks!

 
Nov 21, 2005
chster User

And oh yeah, it's working on Greasemonkey 0.6.3 on Firefox 1.5_rc3.

 
Nov 21, 2005
chster User

Excellent! This changed my life :)

 
Nov 1, 2005
Thomas E Androy User

This doesn't appear to work in 1.5b2. Is it just me or can anyone confirm?

 
Oct 21, 2005
FurYy Scriptwright

That is:

googFonts[x].innerHTML="

 
Oct 21, 2005
FurYy Scriptwright

nitro322 : If you'd like to have links to thewebsite i made this little hack to the script.

After "var GoogLinks" add this:
var googFonts = selectNodes(doc, doc.body, "//FONT[contains(@color,'#008000')]");

And between "if(gmatch)" brackets before href gets replaced:

googFonts[x].innerHTML="

And you should be done with ;)

 
Oct 1, 2005
nitro322 Scriptwright
Hi, Patrick. This is a great script, but I have one request. Sometimes, in addition to loading the direct image, I'd also like to directly load the website that contains the image. I've found that this line will get that value:
var ghtml = googLinks[x].href.match( /\&imgrefurl\=(.*?)\&h\=/ );
However, I can't figure out how to output a new link to the page. Basically, I'd like to make the image link directly to the source image, but then have a new link underneath or beside it that links to the containing web page.
Any chance you could add this capability? Thanks!
 
Sep 29, 2005
Arteekay User

Working under GM 0.6.2, another extension replaced by greasemonkey.

 
Jul 18, 2005
Josh Matthews Scriptwright

Wonderful, much nicer to have a script instead of an extension do this for me.

You could comment on this script if you were logged in.