Neutral TVer

TVer上の評価数を非表示にします

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

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.

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

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

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name         Neutral TVer
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  TVer上の評価数を非表示にします
// @match        https://tver.jp/search
// @match        https://tver.jp/episodes/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tver.jp
// @license      MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var myId = 'custom_094bcd02d90b9ef02c9e652d325bf21a';
    var hideTarget = ['.episode-pattern-b-layout_statistics__W1fsR', '.like-button_label__wRGiw', '.episode-pattern-c_favoriteCountWrapper__3qoal'];
    var myStyleContent = hideTarget.join(', ');
    myStyleContent += '{ visibility: hidden }';

    var myStyleElement = document.getElementById(myId);
    if ( myStyleElement ) {
        return;
    }
    myStyleElement = document.createElement('style');
    myStyleElement.id = myId;
    document.head.appendChild(myStyleElement);
    myStyleElement.sheet.insertRule(myStyleContent);
})();