IPT BannerFix

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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();