Google Site Image

By kuy Last update Jun 18, 2011 — Installed 2,647 times.

Script Summary: Adding an image of website (logo or banner) to the right side of search result.



Version: 0.4.4

Script homepage

Usage

After install this script, you just search using Google.

Screenshots

#1
google_show_logo_01

#2
gsi

Config

Here is default setting of the script. Normally you don't need to change this.
siteinfo property is used as local siteinfo, overrides external siteinfo (specified by sources property).

//// Config
var cfg = {
    normalize: true,                    // 'false' when conflict with other scripts
    expire: 2 * (24 * 60 * 60 * 1000),  // 2 days, interval of siteinfo update
    sources: ['http://wedata.net/databases/siteimage/items.json'],
    siteinfo: {
        // 'hoge.com': {img:['http://hoge.com/images/hoge.png']},
        // 'foo.bar.com': {img:['http://foo.bar.com/img/foo.gif', 'http://foo.bar.com/img/bar.png']},
        // 'hage.net': {img:['http://static.hage.net/hage.png'], css:'background-color: #002244;'}
        // 'hjkl.org': {html:'hjkl.org'}
    }
}

About siteinfo

To add website logo or banner, this script downloads siteinfo (incl. site & image URLs) from Wedata,
cooperative database system.
If you hope this script support more websites and show site images, please contribute siteinfo database from here.

About AutoPagerize

AutoPagerize is a greasemonkey script, loads next page automatically when you scroll down to the end of page.
Now Google Site Image supports AutoPagerize, it apply siteinfo to the loaded page when AutoPagerize append next page.

Todo

  • provide option to exclude URLs of siteinfo
  • (using RegExp for matching with URL)

History

  • [2009-04-13] 0.1.0 initial release
  • [2009-04-13] 0.1.1 supported signined page
  • [2009-04-13] 0.1.2 available CSS settings
  • [2009-04-14] 0.1.3 improved XPath & updated siteinfo
  • [2009-04-18] 0.2.0 supported multiple images
  • [2009-04-18] 0.3.0 moved to Wedata
  • [2009-04-19] 0.3.1 add menu cmd to clear cache
  • [2009-04-19] 0.3.2 add local siteinfo for overriding externals
  • [2009-04-19] 0.3.3 bugfixed for result link with video thumbnail
  • [2009-04-20] 0.4.0 supported AutoPagerize
  • [2009-04-20] 0.4.1 add 'html' property for website has no images
  • [2010-05-17] 0.4.2 fix CSS layout for new Google search design
  • [2010-07-18] 0.4.3 add exclude pattern for Google Images (thx @cherenkov)
  • [2011-06-18] 0.4.4 fix E4X error