Last active
May 17, 2024 15:57
-
-
Save arturo182/e488bbb641c906143930a97c9438b696 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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/* | |
// @match https://x.com/* | |
// @match https://mobile.x.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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use, make sure you have a userscript manager installed and click the
Raw
button in the top right.