toydotgame / old-google

Replaces the current Google logo on google.com and the search page to use the old 2010 – 2013 logo.
https://addons.mozilla.org/en-US/firefox/addon/old-google/
MIT License
3 stars 3 forks source link
firefox-extension google-logo javascript

Old Google

Mozilla Add-on GitHub all releases GitHub repo size GitHub Release Date

Replaces the logo on various Google search engines to that of the logo they had from 2010 to 2013, and also changes the favicon to that of the 2012 one. Dark theme compatible.

Additionally, it has some features to further age the look of your results:

Why does it ask for so many permissions when installing?

You can see what sites Old Google is asking permission to run on here in the manifest: https://github.com/toydotgame/old-google/blob/2a569a41429e769bd7f54512362faa0c207ca540/manifest.json#L53-L58

Essentially, I can't just ask for *://*.google.*/ domain permissions because for every TLD (.com, .co.uk, .org, etc), there could be a different owner. In practice, Google owns every google.* domain, but in theory google.com and google.co.uk are two distinct domains who can have completely different owners. Therefore, Manifest v2 (and v3) don't allow wildcards for the TLD, meaning I have to add in a specific entry for every known google.whatever domain. Doing just google.com only might break if you automatically get redirected to a google.co.uk or something like that!

Goals/Project TODO

I am open to PRs for help on features and improvements if you would like to help!

Google Site Support Roadmap:

This includes logo replacement where possible, and custom era-appropriate favicon (if applicable; otherwise, the generic old Google Search logo will be used).

Compiling for Testing

Requirements:

Steps

  1. Clone the GitHub repo:
    git clone https://github.com/toydotgame/old-google.git
    cd old-google/
  2. Build the code:
    web-ext build
  3. Install the addon temporarily in Firefox:
    • In Firefox, go to about:debugging, to This Firefox, then under the Temporary Extensions heading, click Load Temporary Add-on....
    • After that, navigate to wherever you cloned the repo, then inside that old-google/ folder, find web-ext-artifacts/, and in that, double-click to open old_google-x.x.zip.

Alternatively, you can just load the manifest.json file into about:debugging to achieve the same functionality.

This way of installing the extension will cause it to be removed after you close the browser window. You can alternatively download a signed copy of the compiled extension from the Releases tab (non-sources is signed, and sources is the debugging-only copy). Signed copies can be installed in about:addons (then Install Addon From File...), and will remain permanently.