您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes Ads and banners
// ==UserScript== // @name Debloat Trakt // @namespace https://greasyforks.org/en/users/1169041-jothi-prasath // @version 1.1 // @description Removes Ads and banners // @author Jothi Prasath // @homepage https://github.com/jothi-prasath/userscripts // @supportURL https://github.com/jothi-prasath/userscripts/issues/new // @match https://trakt.tv/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // List of div IDs to remove const divIdsToRemove = ['af1a979-be54078-wrapper']; divIdsToRemove.forEach((divId) => { while (document.getElementById(divId)){ const divToRemove = document.getElementById(divId); if (divToRemove) { divToRemove.parentNode.removeChild(divToRemove); } } }); })();