Created
August 13, 2023 12:30
-
-
Save e-dreyer/8ae81aca2426d3f00cb20f770eff5f46 to your computer and use it in GitHub Desktop.
Remove ugly techhub.social logo
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 Remove techhub.social logo from the page | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Remove the annoying logo from the webpage. | |
// @author https://techhub.social/@Stark9837 | |
// @match https://techhub.social/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Wait for the page to load completely | |
window.addEventListener('load', function() { | |
// Select the logo element and remove it | |
var logoElement = document.querySelector('.drawer__inner__mastodon'); | |
if (logoElement) { | |
logoElement.remove(); | |
} | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment