// ==UserScript== // @name Better Anime1 // @namespace http://tampermonkey.net/ // @version 1.0 // @description Provides better Anime1 UI experience // @author PoH98 // @match https://anime1.me/* // @icon https://anime1.me/favicon-32x32.png // @grant none // @run-at document-body // @license MIT // @downloadURL none // ==/UserScript== (function() { 'use strict'; let table = document.getElementById("tablepress-1"); if(table != null){ table.id = ""; table.className = ""; } let side = document.getElementById("secondary"); if(side != null){ side.remove(); } let main = document.getElementById("primary"); if(main != null){ main.style.width = "100%"; } let content = document.getElementById("content"); if(content != null){ content.style.minHeight = "calc(100vh - 238px)"; } document.body.style.backgroundColor = "#000"; let item = document.getElementById("page").querySelectorAll("*"); item.forEach(function(el){ if(el.id.includes("ad") && !el.id.includes("head")){ el.remove(); return; } el.style.color = "#fff" el.style.backgroundColor = "#444"; }); })();