Hide Trakt VIP Button

Hides the Trakt Get VIP Button

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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!)

Advertisement:

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!)

Advertisement:

// ==UserScript==
// @name Hide Trakt VIP Button
// @namespace Floyed-TraktVipButton
// @version 2024-11-01
// @description Hides the Trakt Get VIP Button
// @license MIT
// @author Floyed
// @grant GM_addStyle
// @run-at document-start
// @include http://trakt.tv/*
// @include https://trakt.tv/*
// @include http://*.trakt.tv/*
// @include https://*.trakt.tv/*
// ==/UserScript==

(function() {
let css = `
    .btn-vip {
        display: none !important
    }

    #om1gYCfRiN-LD3xSETSnk-Ba2KT6YF2O-wrapper {
        display: none !important
    }
`;
if (typeof GM_addStyle !== "undefined") {
  GM_addStyle(css);
} else {
  let styleNode = document.createElement("style");
  styleNode.appendChild(document.createTextNode(css));
  (document.querySelector("head") || document.documentElement).appendChild(styleNode);
}
})();