Google Image Relinker Mod

By thorbenhauer Last update Oct 27, 2010 — Installed 57,646 times.

list for sites to use img tags

in
Subscribe to list for sites to use img tags 2 posts, 2 voices



ekbworldwide Scriptwright

How about if the source code had an easily editable list of sites that had images open in an img tag.

An example is blogs.yahoo.co.jp - if you click an image link

= the image link opens a tab of garbage characters.
-or-
= There's a placeholder with a message in Japanese that says "You are unable to see this image."

I bet there are a lot of Japanese sites that are similar.

example - a search for "small vase"

"一輪挿し" site:blogs.yahoo.co.jp - Google Image Search
http://images.google.com/images?um=1&hl=en&lr=&...

Also - image links don't end in image tags - instead the ending is just a bunch of numbers.

google thumbnail



image link

http://img.blogs.yahoo.co.jp/ybi/1/e5/30/komaga...

a "decoded URI" image link in an img tag

<img src=http://img.blogs.yahoo.co.jp/ybi/1/e5/30/komagabayashi/folder/647990/img_647990_7541949_0?1122338078>

(the image should be right below vvvvv if it doesn't appear - hell if I know why...)

 
thorbenhauer Script's Author

I've implemented the requested feature.

var sites = new Array(
//  /.*/, // CATCH ALL rule
  /^http:\/\/(\d\.)?bp\d?\.blog(spot|ger)\.com\//,
  /^http:\/\/img(\d)?\.blogs\.yahoo\.co\.jp\//
);

You can find the sites array at the beginning of the script code. You currently have to use regular expressions to describe the hosts for which the workaround should be used.
The first line is a CATCH ALL rule, to use it you have to remove the leading comment slashes.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel