您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hides the annoying gradient layers on play.hbomax.com
// ==UserScript== // @name Hide Gradients on HBO Max // @namespace http://tampermonkey.net/ // @version 0.1 // @description Hides the annoying gradient layers on play.hbomax.com // @author bryce54 // @match https://play.hbomax.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Function to hide the gradient layers function hideGradients() { const topGradient = document.querySelector('[class^="TopGradient"]'); const bottomGradient = document.querySelector('[class^="BottomGradient"]'); if (topGradient) { topGradient.style.display = 'none'; } if (bottomGradient) { bottomGradient.style.display = 'none'; } } // Initially hide the gradient layers hideGradients(); // Optionally, you can add a MutationObserver to handle dynamic content const observer = new MutationObserver(hideGradients); observer.observe(document.body, { childList: true, subtree: true }); })();