Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save e-dreyer/8ae81aca2426d3f00cb20f770eff5f46 to your computer and use it in GitHub Desktop.
Save e-dreyer/8ae81aca2426d3f00cb20f770eff5f46 to your computer and use it in GitHub Desktop.
Remove ugly techhub.social logo
// ==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