您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Quality of life changes to Max.com
// ==UserScript== // @name Max Max // @namespace ccn0 // @version 5 // @description Quality of life changes to Max.com // @author CCN0 // @license MIT // @match *://*.hbomax.com/* // @icon https://external-content.duckduckgo.com/ip3/www.max.com.ico // @grant GM_addStyle // ==/UserScript== (function() { GM_addStyle(` [class^="Title-Beam-Web-Ent"], [class^="SeasonEpisode-Beam-Web-Ent"], [class^="Subtitle-Beam-Web-Ent"], [data-testid^="player-ux-scrubber-timestamp"], [data-testid^="player-ux-scrubber-position"] { opacity: 0.5; user-select: text; } [data-testid^="player-ux-scrubber-track"] { opacity: 0.2; } [class^="ControlsFooterBottom-Beam-Web-Ent"] { margin-bottom: -20px; margin-top: -10px; } [class^="TopGradient-Beam-Web-Ent"], [class^="BottomGradient-Beam-Web-Ent"], [class^="RatingsAdvisoriesContainer-Beam-Web-Ent"] { opacity: 0; } [class^="SeasonEpisodeSubtitleContainer-Beam-Web-Ent"] { height: 10px; } `); function maxMaxMax() { var skipbutton = document.querySelector('[data-testid="player-ux-skip-button"]'); if (skipbutton) {skipbutton.click()}; function removeElements(selector) { const elements = document.querySelectorAll(selector); elements.forEach(element => { element.remove(); }); }; if (location.href.includes('/video/watch')) { const svgbuttons = document.querySelectorAll('svg'); svgbuttons.forEach(element => { element.style.opacity = "0.5"; });} removeElements('[class^="ControlsFooterBottomLeft-Beam-Web-Ent"]'); }; setInterval(maxMaxMax,500); })();