Revert to Google's 2013-2015 Favicon
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, but it also had an error - it did NOT revert the Address Bar Google favicon.
This script corrects for both 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 will 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, for
both http:// and https://
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