Revert to Google's 2013-2015 Favicon (image below)
This JavaScript is a Greasemonkey script for the Firefox web browser. It may also work as a Tampermonkey script for Google's Chrome browser, but that was not tested. (If anyone tests this in Chrome, and it works, I'd appreciate a message informing me of that - I don't use Chrome).
On about Sept 1, 2015, Google changed their Favicon. A previous Greasemonkey script was released ("Revert Google's Favicon 1.0") by "Anonymous", who even promoted it in a YouTube video (before he closed his YouTube account and the video was deleted). But it had errors in the "include" URLs - it did NOT work on URLs such as "books.google.com".
Additionally, a Stylish User Script was released ("Google Search Icon Restorer"), but it also had an error - it did NOT replace the ugly new Google favicon in the Address Bar - it did on Browser Tabs (I was upset enough about the Address Bar favicon problem, I didn't even take the time to find out if it reverted Bookmark favicons). I gave the style a negative review on UserStyles.org because of the Address Bar favicon non-reversion. I was so inpatient for a fix that I didn't want to wait for the user style's author to address my private message to him about it, and perhaps fix it. His work was otherwise very good, and he brilliantly gives the user of a choice of five Google favicons from which to choose (going all the way back to 1999) - although the choice must be made prior to installation, and is locked-in - another comment I made in my review. And his animated GIF showing the 5 available favicons is good work. (NOTE: You might want to check out his style, especially if you turn "Off" display of Address Bar website favicons, via the Firefox Add-On "Classic Theme Restorer" - which would immunize yourself from any Address Bar favicon distraction). I've made an animated GIF, modified from the one on the "Google Search Icon Restorer" author's UserStyles.org page, adding the years each of 5 Google favicons was used, and the caption (both in red text). My animated GIF showing 5 Google favicons in use from 1999-2015 is posted below (click to enlarge).
By the way, the Greasemonkey Script and Stylish User Style referred to above were both released Sept 2, 2015 - only about one day after Google's VERY ugly new favicon was introduced. (I'm not the only person who hates the "new and NOT improved" Google graphics). Google also changed their main logo on their search pages - to a very childish monstrosity (there are numerous negative online comments about the logo change, also). I use Stylish User Style "Black Google by Panos", which beautifies Google's search pages with a shaded, shadowed, and slightly mirrored multi-color Google logo on a black background. Using it immunizes me from the Google search page logo change. But the favicon disaster was TOO MUCH! Therefore, after failing to find a cure with either existing Greasemonkey or Stylish mods for the Google favicon fiasco, I developed my own fix, only 4 days after their new favicon introduction - that's how incensed I was! (I've posted an image of the center detail of Google's homepage with Stylish user style "Black Google by Panos" enabled - click to enlarge).
This script corrects the shortcomings - in both previous Greasemonkey Script and Stylish User Style - and is a Greasemonkey script that has been tested, and works for all Google domains tried (as it should, taking into consideration the globally generic "include" domains) - AND for all Google favicons (see NOTES below).
----- Enjoy! -----NOTES:
• Once this script is installed - or "enabled" AFTER being "disabled" - already-open Google webpages need to be Refreshed (F5), and all pre-existing Google bookmarks with the newer Google favicon have to be revisited, for full Revert Favicon script implementation to be complete.
• ALL Google Favicons - for the "URL Bar/Address Bar/Location Bar", "Web Browser Tabs", "Bookmark Menu" and "Bookmark Toolbar" - will be reverted to the Google icon used before the Sept 2015 change - to the...
white lower-case "g" in a blue square (image below).
• Include URLs should have "*" before and after ".google.", so the script works globally on Google sites, i.e. with "books.google.com", "www.google.com", "myaccount.google.com", "google.co.uk", "google.de", etc (*anything.google.*anything) - including, of course,
both http:// and https:// Google domains.
See the UserScript metadata block's "include" lines in the code - use of both asterisks on each line makes the script "globally generic Google".
Installed filename:
Revert_to_Googles_2013-2015_Favicon.user.js