NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name SuperAnimes
// @author Aya
// @include *://*.superanimes.*/*
// @grant GM_getResourceText
// @grant GM_addStyle
// @version 1.2
// @license MIT
// @copyright 2021, ayaMorita (https://openuserjs.org/users/ayaMorita)
// ==/UserScript==
document.addEventListener("DOMContentLoaded", function () {
if (document.location.pathname == "/") {
var publicidade = document.querySelector("#lateral > div.conteudoBox")
publicidade.parentNode.removeChild(publicidade)
}
})
GM_addStyle(`
::-webkit-scrollbar {
width: 5px;
height: 0px;
}
::-webkit-scrollbar-track-piece {
background-color: #0e0e0e;
}
::-webkit-scrollbar-thumb:vertical {
height: 30px;
background-color: #FFFFFF;
}
body { display: block !important; background: #1b1b1b url('https://cdn.discordapp.com/attachments/799870801494671400/806005576399847454/bg_2.png') !important; }
#menuH { background: #000000 !important; border-bottom-color: #9c901c !important; height: 50px !important; }
div.itens { background: #131313 !important; }
#geral > div.conteudoBox.atalho-button { display: none !important; }
div.js_boxCliente { background: #000000 !important; }
ul.menuLi li { background: #000000 !important; border-bottom: 1px solid #fdfdfd !important; }
.menu { background: #000000 !important; }
.menu > li { background: #000000 !important; }
ul.menu > li.menuListLink { background: #9c901c !important; }
ul.menu > div.menuList > li { background: #000000 !important; }
#menuHbox > nav > div.actionMenuUser > div.js_boxCliente > ul > li:nth-child(15) { display: none !important; }
#menuHbox > nav > div.actionMenu > ul > li:nth-child(17) { display: none !important; }
`)
if (document.location.pathname == "/") {
GM_addStyle(`
#corpo > div.conteudoBox { display: none; !important; }
#geral > div.conteudoBox { display: none; !important; }
div.conteudoBox { background: #000000 !important; border-bottom: 1px solid #2b2b2b !important; }
div.boxBarraInfo { background: #000000 !important; border-bottom: 2px solid #9c901c !important; line-height: 10px !important; }
h2.boxBarraInfo { background: #000000 !important; border-bottom: 2px solid #9c901c !important; line-height: 10px !important; }
div.box_content { display: none; !important; }
.grid_box{ background: #000000 !important; border: 2px solid #1d1d1d !important; }
.grid_image img { height: 102% !important; }
.grid_image_vertical > div.infoFloatBottom { bottom: -3px !important; }
ul.grid_itens li { background: #000000 !important; }
.viewMoreLink { background: #000000 !important; }
section.conteudoBox { background: #000000 !important; border-bottom: 1px solid #2b2b2b !important; }
.top10Link { background: #0c0c0c !important; }
`);
}
//let url = document.location.pathname
//if(url.match(/[0-9]/gm)
let url = document.location.pathname
if (url.match(/[0-9]+/gm) == null) {
console.log("ERROR")
}
else {
GM_addStyle(`
#geral > div:nth-child(2) { display: none !important; }
#lateral { display: none !important; }
#corpo { width: calc((122% - 300px) - 10px) !important; }
div.boxBarraInfo { background: #000000 !important; border-bottom-color: #9c901c !important; margin-bottom: 0px !important; }
div.boxSubTitulo { display: none !important; }
#corpoVideo { background: #23232300 !important; margin: 0px 0 !important; }
div.socialSidebar { background: #000000 !important; border-top: 0px solid #FFFFFF !important; margin-bottom: 0px !important; color: #FFFFFF !important; min-Height: 40px !important;}
div.conteudoBox { background: #000000 !important; }
.box_content { background: #101010b5 !important; }
`);
}