Greasy Fork is available in English.

test

youtube最大化不显示进度条

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

this.$ = this.jQuery = jQuery.noConflict(true);
// ==UserScript==
// @name         test
// @namespace    15home
// @version      1.0
// @description  youtube最大化不显示进度条
// @author       jarry.potter
// @match        https://www.youtube.com/*
// @grant        none
// @require      https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
// @license      MIT
// ==/UserScript==

(function () {
    'use strict';

 console.log('yt::准备清除youtube播放条');
    (function ($) { // dialogtip-text
        $(document).ready(function () {
            var timesRun = 0
            var inter = setInterval(function () {
                console.log('youtube star--')
                var obj = $("div.ytp-gradient-bottom")[0].style.height.replace('px','');
                if(obj>200){
                    $("div.ytp-title-text").hide();
                    $("div.ytp-chrome-bottom").hide();
                    $("ytp-chrome-top-buttons").hide();
                    console.log('ytb-title and ytp-chrome-bottom hidden is ok ')
                }else{
                    $("div.ytp-title-text").show();
                    $("div.ytp-chrome-bottom").show();
                }
            }, 2000);
        })
    })(jQuery);
})();