Youtube, NoPlayCount

restful life

2021-03-07 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

// ==UserScript==
// @name         Youtube, NoPlayCount
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  restful life
// @author       You
// @match        https://www.youtube.com/*
// @match        https://*.jetri.co/*
// @icon         https://www.google.com/s2/favicons?domain=youtube.com
// @grant        none
// @nowrap
// ==/UserScript==

(function() {
    'use strict';

    function shutout() {
        var style = document.createElement("style");

        if (location.host.indexOf("www.youtube.com") >= 0) {
        style.innerHTML = `
#count, #dot { display: none !important; }
#metadata-line span:first-child { display: none !important; }
        `;
        } else if (location.host.indexOf(".jetri.co") >= 0) {
        style.innerHTML = `
.video-stat:last-child { display: none !important; }
        `;
        }
        document.body.appendChild(style);
    }

    try {
        shutout();
    } catch {}
    window.addEventListener("load", shutout);
})();
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元