test

youtube最大化不显示进度条

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

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);
})();