IPT BannerFix

IPT BannerFix - Fixes the ridiculously large IPT Banner Section to a reasonable size.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        IPT BannerFix
// @description IPT BannerFix - Fixes the ridiculously large IPT Banner Section to a reasonable size.
// @include     *iptorrents.com/*
// @include     *ipt.lol/*
// @include     *ipt.cool/*
// @include     *ipt.world/*
// @include     *ip.findnemo.net/*
// @include     *ip.getcrazy.me/*
// @include     *ip.venom.global/*
// @include     *ip.workisboring.net/*
// @version     1.1
// @grant       none
// @namespace https://greasyfork.org/users/64132
// ==/UserScript==


//CLEANUP
//Slim Down the Banner
document.querySelector('.bannerPlaceholder').remove();
document.querySelector('#iptStart .banner').style = 'background-color: black; height: 95px';
// Fixing the new Mouseover hiding crap on the top rows  ---  not the best way of doing this but works for now
document.querySelector('.topRow').style = 'opacity: 1; height: 25px; top: 0px;';
document.querySelector('.stats').style = 'opacity: 1; height: 65px; top: 30px';
document.querySelector('.ql').style = 'opacity: 1; height: 55px';

//Remove Top Torrents Section
document.getElementById('toggleTopA').remove();

//Remove Bullshit (Donation) Announces over Categories
document.querySelector('#body > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > h1:nth-child(1)').remove();
document.querySelector('#body > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > h1:nth-child(2)').remove();
document.querySelector('#body > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > b:nth-child(1)').remove();
document.querySelector('#body > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > b:nth-child(1)').remove();
document.querySelector('#body > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > iframe:nth-child(4)').remove();
document.querySelector('#body > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > b:nth-child(1)').remove();
document.querySelector('#body > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > b:nth-child(4)').remove();