Skip to content

Instantly share code, notes, and snippets.

Created December 14, 2017 15:24
Show Gist options
  • Save anonymous/62182cbdf3892eb504f328b59d73f502 to your computer and use it in GitHub Desktop.
Save anonymous/62182cbdf3892eb504f328b59d73f502 to your computer and use it in GitHub Desktop.
Tampermonkey/Greasemonkey script that restores the old blue Reddit favicon
// ==UserScript==
// @name Restore Old Blue Reddit Favicon
// @namespace http://tampermonkey.net/
// @version 0.1.0
// @description Restores the old blue Reddit favicon
// @icon http://www.reddit.com/favicon.ico
// @icon64 http://www.reddit.com/favicon.ico
// @include /^https?:\/\/(.+\.)?reddit\.com\/?.*$/
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// @grant none
// ==/UserScript==
(function() {
'use strict';
$("link[rel*='icon']").attr("href", "/favicon.ico");
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment