Debloat Trakt

Removes Ads and banners

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.

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

// ==UserScript==
// @name         Debloat Trakt
// @namespace    https://greatest.deepsurf.us/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);
        }
      }
    });
})();