From 4a3754d571475b7b0a2a419d4848575955034f62 Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Thu, 9 Sep 2010 21:46:25 -0500 Subject: [PATCH] Updated the database and fixed the search logo. --- global.js | 42 ++++++++++++++++++++++++++++++++++++++++++ glogo.js | 4 ++-- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/global.js b/global.js index 41fc1d6..9f33ecc 100644 --- a/global.js +++ b/global.js @@ -1882,6 +1882,48 @@ MGMLogoURLs[910] = "http://www.google.com/logos/frida10-hp.gif"; MGMLogosText[910] = "Jul 06, 2010: Frida Kahlo's 103rd Birthday - (Selected Countries)"; MGMLogoURLs[911] = "http://www.google.com/logos/tanabata2010-hp.jpg"; MGMLogosText[911] = "Jul 07, 2010: Tanabata - Star Festival - (Japan)"; +MGMLogoURLs[912] = "http://www.google.com/logos/d4g_argentina10-hp.gif"; +MGMLogosText[912] = "Jul 09, 2010: Doodle for Google Winner and Argentina's Independence Day - (Argentina)"; +MGMLogoURLs[913] = "http://www.google.com/logos/worldcupfinale10-hp.gif"; +MGMLogosText[913] = "Jul 11, 2010: World Cup Final - (Global)"; +MGMLogoURLs[914] = "http://www.google.com/logos/naomishemer10-hp.jpg"; +MGMLogosText[914] = "Jul 13, 2010: Naomi Shemer's 80th Birthday - (Israel)"; +MGMLogoURLs[915] = "http://www.google.com/logos/bastille10-hp.jpg"; +MGMLogosText[915] = "Jul 14, 2010: Bastille Day - (France)"; +MGMLogoURLs[916] = "http://www.google.com/logos/2010/joseffrank-hp.gif"; +MGMLogosText[916] = "Jul 15, 2010: Josef Frank's 125th Birthday - (Selected Global)"; +MGMLogoURLs[917] = "http://www.google.com/logos/paik10-hp.gif"; +MGMLogosText[917] = "Jul 20, 2010: Nam June Paik - (Korea)"; +MGMLogoURLs[918] = "http://www.google.com/logos/d4g_colombia10-hp.gif"; +MGMLogosText[918] = "Jul 20, 2010: Doodle 4 Google Colombian Winner - (Colombia)"; +MGMLogoURLs[919] = "http://www.google.com/logos/belgium10-hp.gif"; +MGMLogosText[919] = "Jul 21, 2010: Belgian National Day - (Belgium)"; +MGMLogoURLs[920] = "http://www.google.com/logos/kroyer10-hp.gif"; +MGMLogosText[920] = "Jul 23, 2010: Peder Severin Krøyer's 159th Birthday - (Denmark)"; +MGMLogoURLs[921] = "http://www.google.com/logos/mucha10-hp.jpg"; +MGMLogosText[921] = "Jul 24, 2010: Alfons Mucha's 150th Birthday - (Selected Countries)"; +MGMLogoURLs[922] = "http://www.google.com/logos/arthurboyd2010-hp.jpg"; +MGMLogosText[922] = "Jul 24, 2010: Arthur Boyd's Birthday - (Australia)"; +MGMLogoURLs[923] = "http://www.google.com/logos/swiss2010-hp.gif"; +MGMLogosText[923] = "Aug 01, 2010: Swiss National Day - (Switzerland)"; +MGMLogoURLs[924] = "http://www.google.com/logos/2010/bolivia10-hp.gif"; +MGMLogosText[924] = "Aug 06, 2010: Bolivian Independence Day - (Bolivia)"; +MGMLogoURLs[925] = "http://www.google.com/logos/2010/d4g_winner10-hp.gif"; +MGMLogosText[925] = "Aug 09, 2010: Singapore's National Day - (Singapore)"; +MGMLogoURLs[926] = "http://www.google.com/logos/2010/ecuador_ind10-hp.gif"; +MGMLogosText[926] = "Aug 10, 2010: Ecuador's Independence Day - (Ecuador)"; +MGMLogoURLs[927] = "http://www.google.com/logos/2010/oz10-hp.gif"; +MGMLogosText[927] = "Aug 12, 2010: 71st Anniversary of The Wizard of Oz - (Selected Countries)"; +MGMLogoURLs[928] = "http://www.google.com/logos/2010/d4g_th-hp.gif"; +MGMLogosText[928] = "Aug 12, 2010: Doodle 4 Google Winner: Her Majesty the Queen's Birthday - Mother's Day - (Thailand)"; +MGMLogoURLs[929] = "http://www.google.com/logos/2010/india_independence10-hp.gif"; +MGMLogosText[929] = "Aug 15, 2010: India's Independence Day - (India)"; +MGMLogoURLs[930] = "http://www.google.com/logos/2010/korea10-hp.jpg"; +MGMLogosText[930] = "Aug 15, 2010: South Korea's Independence Day - (South Korea)"; +MGMLogoURLs[931] = "http://www.google.com/logos/2010/kyotofestival2010-hp.jpg"; +MGMLogosText[931] = "Aug 16, 2010: Gozan no Okuribi, iconic festivals of Kyoto - (Japan)"; +MGMLogoURLs[932] = "http://www.google.com/logos/2010/chinesevalentines2010-hp.jpg"; +MGMLogosText[932] = "Aug 16, 2010: Chinese Valentine's Day - (China, Hong Kong, Taiwan)"; function handleMessage(theEvent) { if (theEvent.name=="canLoad") { diff --git a/glogo.js b/glogo.js index 5932aec..13c445d 100644 --- a/glogo.js +++ b/glogo.js @@ -109,7 +109,7 @@ function handleSearchBeforeLoad(event) { MGMLoadedInfo = true; } - if (element.src=="http://www.google.com/images/srpr/nav_logo13.png" && element.width==167) { + if (element.src.match("nav_logo") && element.width==167) { if (element.getAttribute("MGMChanged")) return; var parent = element.parentNode; @@ -125,7 +125,7 @@ function handleSearchBeforeLoad(event) { element.width = "137"; element.height = "49"; element.setAttribute("MGMChanged", true); - } else if (element.src=="https://encrypted.google.com/images/logos/ssl_logo_beta_49.gif") { + } else if (element.src.match("ssl_logo_beta")) { if (element.getAttribute("MGMChanged")) return; if (MGMCustomSearch==null || MGMCustomSearch=="") {