Skip to content

Instantly share code, notes, and snippets.

@witchof0x20
Last active March 18, 2023 01:23
Show Gist options
  • Save witchof0x20/14e89457c28cb8e71082a2ef2639beed to your computer and use it in GitHub Desktop.
Save witchof0x20/14e89457c28cb8e71082a2ef2639beed to your computer and use it in GitHub Desktop.
Bring back the old (cooler) arxiv favicon
// ==UserScript==
// @name Bring back the old (cooler) arxiv favicon
// @version 1
// @grant none
// @match https://www.arxiv.org/*
// @match https://arxiv.org/*
// ==/UserScript==
window.addEventListener('load', function() {
let links = document.querySelectorAll('link[rel="icon"]');
links.forEach((link) => {
link.href = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAGGUExURQD/AKr/qim7KQ7oDnH/cRz/HMb/xunayL6qextEGwCqAOn06WKFQBu1G//MvGiWRyJVIg4iDg7MDmiwaI2CSkZBJRvSG//y7tSogDB3MNTo1DfSNzfFJ9Tcw//ZzXBzPr6QWlt0OQBVAGPcUjdUJxQzFL6qfH67fgCOAP+ligcRBwDGAC93LwdKByKOIr7DnTaINht9GzlxAFVVAMbGAP//AOmNZIyCShTdFAf0Bz2ZPXE+L6qqAOPjAAAAADhgGxwcAE1SLLCQHA2TDZR0HDk5ANjIDi5WDt6uKvTkDko6DqV1KunJHHFxAEQsFe7WFaBoMY6OAC4eDolZKquDI/nxBxcPB7Z2OMG5B47/jo50bOO7Iw13Df/l3v+ZejJTIp9nMRtgG1X/Vf/m3hRsFMysHNigMQ0iDQ3oDf////+ymy1WDtOTOOmnhbGIbozSjBuZG+P/477dvpPGk7FuTRSkFOnBp6nFmCoyGbi1dU1SKyLGIqmfZqmSVT8wHgBxANSogVOYQmbpOXEAAAABYktHRGm8a8S0AAAAB3RJTUUH5wMKFwkOwJs4lQAAAcVJREFUOMuNU+lfgkAQ9SgLSsUOs1vsIi0qBctCKtMCM6g07b7L7LT7vv7zWFAB1w+9D/N7zLydnRlmDYb/wGg0mSFnldFoVrzVlppaBIVP1dXWW2VmsdkxRwMsaMSamp2AtbhaG9vay+MdnV3dbtwDaE9vX79tQK6C8EgggNPpahns7vP6AB8aJjH3yGj9mD9A0RKogB9FEHdwHHEqySZCIRKbbJ5iwnQBYYZlMTti1dxI4tMUrQE14yieL2SZ1cVpOsLO6WpGGTl1WLVR/WT8sjMWU+38gk4QkPOyLFeyfFwbJyhIQEcIjcBTqH0xUbI054EFNK+xsIBXm+QrCRLx0iioeKJMIBXJx9mlomCJFURxWVskaJNiYitKfGU1mVoThQqDCsywEtIC6CKjHxQaVS5nJKyLoKKkftQbm6k17b/aWt7Wb/DO7l5K0yW3nz5Q97z6cOMoiGPHyRMRZOHF00wym8Wxs6LAksud496JEHohpDiOu9wXLlArcnV9Y87nlf2+vbt/eFTmoS6t/Sl39PxiAtz0elcXfCtf+3f3+cfni3KNpB53QA/H9OzCyAJ//Mp+w4KfXzJU/HASBhh5n+E/+ANCY3dbXxVqYgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wMy0xMFQyMzowODo1NSswMDowMES/TwwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDMtMTBUMjM6MDg6NTUrMDA6MDA14vewAAAAKHRFWHRkYXRlOnRpbWVzdGFtcAAyMDIzLTAzLTEwVDIzOjA5OjE0KzAwOjAwrwi4HwAAAABJRU5ErkJggg=="
});
}, false);
@witchof0x20
Copy link
Author

subscribe to this gist for updates i think. i could have it autoload from this gist but i dont like that from a trust perspective

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