Skip to content

Instantly share code, notes, and snippets.

@arturo182
Last active July 24, 2023 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arturo182/e488bbb641c906143930a97c9438b696 to your computer and use it in GitHub Desktop.
Save arturo182/e488bbb641c906143930a97c9438b696 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Proper Twitter Favicon
// @author arturo182
// @version 0.1.0
// @description Bring back the Twitter favicon
// @match https://twitter.com/*
// @match https://mobile.twitter.com/*
// @updateURL https://gist.github.com/arturo182/e488bbb641c906143930a97c9438b696/raw/twitter-favicon.user.js
// @downloadURL https://gist.github.com/arturo182/e488bbb641c906143930a97c9438b696/raw/twitter-favicon.user.js
// ==/UserScript==
window.addEventListener('load', function()
{
var icon = document.querySelector('link[rel~="icon"]');
icon.href = "https://abs.twimg.com/favicons/twitter.2.ico";
}, false);
@arturo182
Copy link
Author

To use, make sure you have a userscript manager installed and click the Raw button in the top right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment