Skip to content

Instantly share code, notes, and snippets.

@kusaanko
Created September 17, 2022 09:50
Show Gist options
  • Save kusaanko/9f8d06a5f5dacb9d1b591638459808aa to your computer and use it in GitHub Desktop.
Save kusaanko/9f8d06a5f5dacb9d1b591638459808aa to your computer and use it in GitHub Desktop.
YouTube hide icon
// ==UserScript==
// @name YouTube hide icon
// @namespace http://github.com/kusaanko
// @version 0.1
// @description Hide icons on youtube.
// @author Kusaanko
// @match https://*.youtube.com/*
// @require https://code.jquery.com/jquery-3.4.1.min.js
// @grant none
// ==/UserScript==
(function() {
'use strict';
setInterval(
function() {
$('ytm-profile-icon').css({display: 'none'});
$('img[alt="アバターの画像"]').css({display: 'none'});
$('#author-thumbnail').css({display: 'none'});
$('#related').css({display: 'none'});
}
, 100);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment