ayaMorita / SuperMangas

// ==UserScript==
// @name        SuperMangas
// @include     *://*.supermangas.*/*
// @grant      GM_getResourceText
// @grant      GM_addStyle
// @version     1.11
// @license MIT
// @copyright 2021, ayaMorita (https://openuserjs.org/users/ayaMorita)
// @icon        https://cdn.discordapp.com/emojis/748763581285400666.png
// @updateURL https://openuserjs.org/meta/ayaMorita/SuperMangas.meta.js
// @downloadURL https://openuserjs.org/install/ayaMorita/SuperMangas.user.js
// ==/UserScript==

GM_addStyle(`
  #lateral { display: none !important; }
  #corpo { width: calc(100% - 0px - 20px) !important; }
  div.boxConteudo { padding: 4px !important; }
  body { background: #000000 !important }
  #menuH { background: #0a0a0a !important; border-bottom-color: #058269 !important; height: 50px !important; }
  div.itens { background: #131313 !important; }
  li.menuListLink { background: #058269 !important }
  ul.menuLi li { background: #000000 !important; }
  ul.menu li { background: #000000 !important; }
  .menu li:hover { background: #868686 !important; }
  .js_boxCliente li:hover { background: #868686 !important; }
  div.actionMenu > ul > li:nth-child(17) { display: none !important; }
  #lateral > div:nth-child(1) { display: none !important; }
  div.js_boxCliente > ul > li:nth-child(13) { display: none !important; }
  section:nth-child(2) > div > div.box_content { background: #0e0e0e !important }
  #geral > div.conteudoBox.atalho-button { display: none !important; }
`)

if (document.location.pathname == "/") {
  GM_addStyle(`
    .grid { padding-bottom: 10px !important; }
    div.grid_box { background: #000000 !important; border: 3px solid #1d1d1d !important; }
    .box_view li { background: #000000 !important }
    .boxSubTitulo { display: none; !important}
    div.boxBarraInfo { background: #000000 !important; border-bottom: 2px solid #058269 !important; line-height: 20px; font-size: 1.6em !important;}
    h2.boxBarraInfo { background: #000000 !important; border-bottom-color: #058269 !important; line-height: 20px; font-size: 1.6em !important; }
    div.conteudoBox { background: #000000 !important; border-bottom: 1px solid #058269 !important; }
    section.conteudoBox { background: #000000 !important; border-bottom: 1px solid #058269 !important; }
    div.viewMoreLink { border-top: 1px solid #058269 !important; }
    div.box_content { background: #000000 !important; }
    div.viewMoreLink { background: #000000 }
    .actionSearch:hover { background: #121212 !important; }
    .menu_btns:hover { background: #121212 !important; }
    .top10Link { background: #0e0e0e !important; }
    #corpo > div { display: none !important; }
`);
}

if (document.location.pathname.startsWith('/genero/')) {
  GM_addStyle(`
  div.conteudoBox { background: #000000 !important; }
`)
}

if (document.location.pathname.startsWith("/hunter")) {
  GM_addStyle(`
  .boxBarraInfo { background: #000000 !important; border-bottom: 2px solid #FFFF00 !important; line-height: 20px; font-size: 1.6em !important;}
  .top10Link { background: #0e0e0e !important; }
  div.conteudoBox { background: #000000 !important; border-bottom: 1px solid #2b2b2b !important; }
  section.conteudoBox { background: #000000 !important; border-bottom: 1px solid #2b2b2b !important; }
  div.conteudoBox > div.box_content { background: #0a0a0a !important; line-height: 35px !important; padding: 4px !important; color: #058269 !important; border: 3px solid #1d1d1d !important; }
  .menu_box_action { background: #0a0a0a !important; margin-top: -5px !important; margin: 0px !important; padding: 0px 5px !important; }
  ul.boxAnimeSobre li { background: #000000 !important; border: 2px solid #1d1d1d !important }
  .faq { background: #000000 !important; }
  div.rows_list { background: #000000 !important; }
  .select select { background: #131313 !important; }
`)
}

if (document.location.pathname.startsWith("/manga/")) {

  GM_addStyle(`
  div.socialSidebar { background: #131313 !important; border-top: 0px solid #058269 !important; margin-bottom: 7px !important; color: #FFFFFF !important; min-Height: 40px !important;}
  div.menuActionContentBT > div { background: #131313 !important; }
  div.conteudoBox.box_suport { background: #131313 !important; }
  div.conteudoBox.box_suport > div.boxSubTitulo { display: none; }
  div.boxBarraInfo { border-bottom-color: #058269 !important; margin-bottom: 0px !important; }
  div.conteudoBox.box_suport > div.capBox { background: #000000 !important; }
  div.capBox > div > div.capituloView { background: #000000 !important; }
  div.capBox > div.capPageContent > div.capMenu.capMenuFixedTop > span { background: #131313 !important; }
  div.capBox > div.capPageContent > div.capMenu.capMenuFixedTop > select { background: #131313 !important; }
`)
}

if (document.location.pathname.startsWith("/manhua/")) {

  GM_addStyle(`
  div.socialSidebar { background: #131313 !important; border-top: 0px solid #058269 !important; margin-bottom: 7px !important; color: #FFFFFF !important; min-Height: 40px !important;}
  div.menuActionContentBT > div { background: #131313 !important; }
  div.conteudoBox.box_suport { background: #131313 !important; }
  div.conteudoBox.box_suport > div.boxSubTitulo { display: none; }
  div.boxBarraInfo { border-bottom-color: #058269 !important; margin-bottom: 0px !important; }
  div.conteudoBox.box_suport > div.capBox { background: #000000 !important; }
  div.capBox > div > div.capituloView { background: #000000 !important; }
  div.capBox > div.capPageContent > div.capMenu.capMenuFixedTop > span { background: #131313 !important; }
  div.capBox > div.capPageContent > div.capMenu.capMenuFixedTop > select { background: #131313 !important; }
`)
}

if (document.location.pathname.startsWith("/manhwa/")) {

  GM_addStyle(`
  div.socialSidebar { background: #131313 !important; border-top: 0px solid #058269 !important; margin-bottom: 7px !important; color: #FFFFFF !important; min-Height: 40px !important;}
  div.menuActionContentBT > div { background: #131313 !important; }
  div.conteudoBox.box_suport { background: #131313 !important; }
  div.conteudoBox.box_suport > div.boxSubTitulo { display: none; }
  div.boxBarraInfo { border-bottom-color: #058269 !important; margin-bottom: 0px !important; }
  div.conteudoBox.box_suport > div.capBox { background: #000000 !important; }
  div.capBox > div > div.capituloView { background: #000000 !important; }
  div.capBox > div.capPageContent > div.capMenu.capMenuFixedTop > span { background: #131313 !important; }
  div.capBox > div.capPageContent > div.capMenu.capMenuFixedTop > select { background: #131313 !important; }
`)
}

if (document.location.pathname.startsWith("/light-novel/")) {

  GM_addStyle(`
  div.socialSidebar { background: #131313 !important; border-top: 0px solid #058269 !important; margin-bottom: 7px !important; color: #FFFFFF !important; min-Height: 40px !important;}
  div.menuActionContentBT > div { background: #131313 !important; }
  div.conteudoBox.box_suport { background: #131313 !important; }
  div.conteudoBox.box_suport > div.boxSubTitulo { display: none; }
  div.boxBarraInfo { border-bottom-color: #058269 !important; margin-bottom: 0px !important; }
  div.conteudoBox.box_suport > div.capBox { background: #000000 !important; }
  div.capBox > div > div.capituloView { background: #000000 !important; }
  div.capBox > div.capPageContent > div.capMenu.capMenuFixedTop > span { background: #131313 !important; }
  div.capBox > div.capPageContent > div.capMenu.capMenuFixedTop > select { background: #131313 !important; }
`)
}