Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
... some of the time. |
|
|
I changed your XPath slightly. I find this works better ;) var logo = document.evaluate("//img[contains(@src,'/logos/')]", document, null, 0, null).iterateNext(); |
|
|
In the Document.Evaluate statement, after //img[@alt='Go to Google Home'] Add this for Google News: | //img[@alt=''] Add this for Gmail: | //img[@alt='Gmail'] If you're using one of the scripts to secure Gmail, don't forget to add https//*.google.*/* to make it work on the secure gmail pages. |
|
|
I just changed the height and width in the original script to 148 and 200 to get the smaller logo ;) |