Skip to content

Instantly share code, notes, and snippets.

@qatoqat
Created July 25, 2023 16:30
Show Gist options
  • Save qatoqat/e0f5dbcdd63dc526bcdb04f28e97b4af to your computer and use it in GitHub Desktop.
Save qatoqat/e0f5dbcdd63dc526bcdb04f28e97b4af to your computer and use it in GitHub Desktop.
Bird Favicon
// ==UserScript==
// @name Change Favicon
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Change to original bird favicon.
// @author You
// @match https://*.twitter.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant none
// ==/UserScript==
(function() {
var link = document.querySelector("link[rel~='icon']");
if (!link) {
link = document.createElement('link');
link.rel = 'icon';
document.head.appendChild(link);
}
link.href = 'https://abs.twimg.com/favicons/favicon.ico';
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment