Last active
January 29, 2025 12:35
-
-
Save alopatindev/ad9cbd4bdc37ee27767860438c002e62 to your computer and use it in GitHub Desktop.
Remove Youtube Country code Violentmonkey script
This file contains hidden or 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
// Installation: | |
// 1. https://violentmonkey.github.io/ | |
// 2. ⚙️ Open Dashboard | |
// 3. Install from URL => https://gist.githubusercontent.com/alopatindev/ad9cbd4bdc37ee27767860438c002e62/raw | |
// ==UserScript== | |
// @name Remove Youtube Country | |
// @version 0.0.1 | |
// @author alopatindev | |
// @license MIT | |
// @match https://www.youtube.com/* | |
// @match https://youtu.be/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
"use strict"; | |
const span = document.querySelector('span.style-scope.ytd-topbar-logo-renderer'); | |
if (span) { | |
span.style.display = 'none'; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment