youtube-hide-download-button

Simple script, that hides the download button on youtube videos (below the video and from the context menu)

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name        youtube-hide-download-button
// @version     1.0
// @include     https://youtube.com/*
// @include     https://www.youtube.com/*
// @description Simple script, that hides the download button on youtube videos (below the video and from the context menu)
// @require     http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @grant       GM_addStyle
// @namespace https://greasyfork.org/users/870553
// ==/UserScript==

(function() {
    'use strict';
    const style = document.createElement('style');
    style.type = 'text/css';
    style.innerText = 'ytd-menu-service-item-download-renderer{display:none;}';
    document.head.appendChild(style);
})();
(function() {
    'use strict';
    const style = document.createElement('style');
    style.type = 'text/css';
    style.innerText = 'ytd-download-button-renderer{display:none;}';
    document.head.appendChild(style);
})();