GrabGoogleDoodle

From Chickenfoot Script Repository

// ==UserScript==
// @name GrabGoogleDoodle
// @when Pages Match
// @description gets url of google icon
// @include http://www.google.com/
// ==/UserScript==

 go('google')
 
 // make sure user is not on the Google personalized home page
 if (find("  'Classic Home' link  ").hasMatch) {
   click("  'Classic Home' link  ")
 }
 
 find('first image').element.src
<pre>