Inspired by this achewood strip.
One of 5403003 Greasemonkey scripts inspired by same.
Code follows, chochachos.
---------------------------
// ==UserScript==
// @name RayLogo
// @namespace SDC
// @description achewood logo
// @include http://www.google.com/
// @exclude
// @exclude
// ==/UserScript==
var allEle = document.evaluate("//IMG[@alt='Google']",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
allEle.snapshotItem(0).src ="http://farm1.static.flickr.com/150/393366534_d37972fd53.jpg?v=0";
4 comments:
Nice work. I updated it a bit, here's my version. I used an image without the mouse pointer, and resized it to the original size. I also changed it to work with international versions of Google. Let me know what you think.
// ==UserScript==
// @name RayLogo
// @namespace SDC
// @description achewood logo
// @include http://*.google.*/
// @exclude
// @exclude
// ==/UserScript==
var allEle = document.evaluate("//IMG[@alt='Google']",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
allEle.snapshotItem(0).src ="http://img3.imageshack.us/img3/1515/googleraysmucklesww5.gif";
allEle.snapshotItem(0).width ="335";
allEle.snapshotItem(0).height ="153";
Thanks, Middlerun, I like it!
Hi, I know it's a bit old, but should this still work with the latest versions of greasemonkey/firefox? I've tried several times to no avail. Please help a fellow Achewood lover!
Hi Erin,
I haven't looked at this one for a long while, but I'll try to take a few min to look into it and let you know what I find out!
Post a Comment