// ==UserScript==
// @name 9anime - Old Theme
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Old purple and gray colour scheme, as well as some other site corrections.
// @author u/Kaito-Yagami
// @match *://*.9anime.to/*
// @match *://*.9anime.id/*
// @match *://*.9anime.me/*
// @match *://*.9anime.pl/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=9anime.id
// @grant none
// @license MIT
// @run-at document-body
// ==/UserScript==
(function() {
window.addEventListener('load', function() {
var favicon = document.querySelector('link[rel~="icon"]');
var clone = favicon.cloneNode(!0);
clone.href = "https://cdn.discordapp.com/attachments/894632537354272839/1000178431201378424/icon.png"
favicon.parentNode.removeChild(favicon);
document.head.appendChild(clone);
}, false);
'use strict';
var el = document.createElement('style');
el.type = 'text/css';
el.innerHTML = ".home,body,header,header.fixed{background-color:#0e0e0e}body{color:#fff}header.fixed{background-color: #0A0A0A;box-shadow: 0px 7px 12px #070707;}#w-info .binfo .info .names,.now span,form,section#schedule .head .days .items .day .inner,section#schedule .head .now{color:#1c1c1c}.dot+.dot:before,.swiper-pagination-bullet{background-color:#525252}header{color:#525252}header #user .sign-in{background-color:#713abf;border-color:#713abf;color:#ccc}header #user .sign-in:hover{background-color:#6230ad;border-color:#6230ad;color:#ccc}#search .search-popup .foot,header #search form{background-color:#1c1c1c;color:#525252}#search .search-popup,.switch>span{background-color:#1c1c1c;color:#525252;border-color:#0e0e0e}header #search form input::placeholder{color:#525252!important}#hotest .item .info .synopsis,#w-info .binfo .info .meta>div>span,#w-info .binfo .info .synopsis,#w-info .brating .rating .message,.ani.items .item .info .name,.ani.items .item .poster .meta,.by span,.head-box .actions .filter,.head-box .tabs-sm .tab,.head-box .tabs-sm .tab.active,.tabs .tab,.text-tabs .tab,footer .azlist .head .desc,footer .copyright,footer .disclaimer,footer .inline-links label,header #search form .tip .icon,header #search form button,header #search form input,header .main-menu,section .head .paging>span,section.top-table .body .items .item .info .meta span,span{color:#525252}.head-box{color:#525252;border-color:#525252}#search .search-popup .s-close{color:#525252;border-bottom:1px solid #525252}#search .search-popup .s-close:hover,.head-box .actions .filter:hover,header #search form button:hover,header #search form input:hover,input{color:#ccc}#w-player #controls .ctrl:hover,.ani.items .item .info .name,.ep span,.nav-link.active,.nav-link:hover,.profile-container .form-group label,.scaff.items .item:hover .info .name,.submit.filter.w-auto:hover .btn-primary,.submit.filter.w-auto:hover span,.tooltipster-sidetip .tooltipster-content .meta.icons,.user-actions a,.user-menu a.active,.user-menu a.active span,.user-menu a:hover,.user-menu a:hover span,.w2g-item .room .info .name,.watchlist.items .item .info .name a:hover,a:hover,footer .inline-links ul li a:hover,header #user span,section.top-table .body .items .item:hover .info .name,section.top-table .head a.title:hover{color:#fff}form::placeholder{color:#ccc}.text-tabs .tab.active,.text-tabs .tab:hover,header .main-menu:hover{color:#eee}#w-episodes .body .episodes.name ul li a span,#w-info .binfo .info .meta>div,#w-info .binfo .info .meta>div>span a:hover,#w-info .brating .rating .score .value,#w-player #controls .ctrl,#w-player #w-servers .tip,#w-player .alert.next-episode span,.ani.items .item .info .name:hover,.ani.items .no-item,.btn.clear,.dropdown-menu>li>label:hover,.fa-brands,.meta span,.modal-header .modal-title,.nav-link,.scaff.items .item .info .name,.side.items .item .info .meta .score,.side.items .item .inner:hover span,.socials span,.tooltipster-sidetip .tooltipster-content .title,.user-info .level,.user-menu a,.user-menu span,.w2g-item.live .screen .anime .inner .status span,.watchlist.items .item .info .name a,footer .inline-links ul li a,header #menu>ul>li>a,header #menu>ul>li>ul>li>a h2,header #menu>ul>li>ul>li>a h3,header #menu>ul>li>ul>li>a h4,header #menu>ul>li>ul>li>a span,header .main-menu:hover .icon,header .main-menu:hover i,section .head .more,section .head .paging>span:hover,section#schedule .body .items a,section#schedule .head .days .items .day .inner:hover,section#schedule .head .days .items .day.active .inner,section#top-anime .side.items .item .info .name,section.top-table .body .items .item:hover .info .meta span,section.top-table .head .title{color:#ccc}.btn-primary,.custom-control-input:checked~.custom-control-label::before,button{background-color:#713abf;border-color:#713abf}.btn-primary:hover,button:hover{background-color:#6230ad;border-color:#6230ad}::-webkit-scrollbar-thumb{background-color:#2b2b2b}::-webkit-scrollbar-thumb:hover{background-color:#383838}::-webkit-scrollbar-track{background-color:#141414}#w-episodes .body .episodes.name ul li a.active,#w-episodes .body .episodes.name ul li:nth-child(2n) a.active,.custom-file-input,.side.items .item .inner:hover,.swiper-pagination-bullet-active,.switch>span.active,header #menu>ul,section.top-table .body .items .item:hover{background-color:#713abf}.bg-dsp-space.bg-dsp-space-1256,.bg-ssp-6510,.bsharing,.tooltip,div.alert.alert-secondary.notice.mb-5,section.adx .remove{display:none}.meta.icons i.quality{background-color:#b6b6b6}.switch>span.active{color:#212529;border-color:#0e0e0e}.switch>span:hover{background-color:#525252;color:#1c1c1c;border-color:#0e0e0e}.logo{background:url(https://cdn.discordapp.com/attachments/894632537354272839/999766484811255808/9anime.png) center no-repeat}#w-media #w-episodes,#w-player #controls,#w-player #w-servers .servers,.ani.items .item .poster .meta,.filter .form-control,.side.items .item .inner,.tabs,.tooltipster-sidetip .tooltipster-box,header #menu>ul>li>ul,section.top-table .body .items .item{background-color:#1c1c1c}section .head .paging>span.disabled{color:#343434}section#top-anime .side.items .item.rank1 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795021169569853/1.png)}section#top-anime .side.items .item.rank2 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795021526073365/2.png)}section#top-anime .side.items .item.rank3 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795022050373643/3.png)}section#top-anime .side.items .item.rank4 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795022385922209/4.png)}section#top-anime .side.items .item.rank5 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795022851493888/5.png)}section#top-anime .side.items .item.rank6 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795023275110541/6.png)}section#top-anime .side.items .item.rank7 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795023719710800/7.png)}section#top-anime .side.items .item.rank8 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795024063631440/8.png)}section#top-anime .side.items .item.rank9 .inner .rank{background-image:url(https://cdn.discordapp.com/attachments/894632537354272839/999795020846600242/9.png)}section#top-anime .side.items .item.rank1 .inner,section#top-anime .side.items .item.rank2 .inner,section#top-anime .side.items .item.rank3 .inner{border-right:2px solid #713abf}.tabs .tab:hover{background-color:#2d2d2d;color:#525252}.tabs .tab.active{color:#0e0e0e;background-color:#713abf}.ep-status.total{background:#525252;color:#0e0e0e}.ani.poster>a:before{background:rgba(113,58,191,.4)}.tooltipster-sidetip .tooltipster-content{color:#d6d6d6}#w-info .binfo .info .meta>div>span a,#w-info .brating .rating .stars span.full i:before,#w-info .brating .rating .stars span.half i:before,.shorting .toggle,a{color:#713abf}.tooltipster-sidetip .tooltipster-content .meta-bl>div span:first-child,section#schedule .body .items a.old{color:#969696}#w-player .alert.next-episode,.tooltipster-sidetip .tooltipster-content .actions .watch,footer .socials{background-color:#713abf;color:#ccc}.tooltipster-sidetip .tooltipster-content .actions .watch:hover{background-color:#6230ad;color:#fff}.text-muted{color:#313131!important}.text-light{color:#ccc!important}footer .container{background:url(https://cdn.discordapp.com/attachments/894632537354272839/999821496249745458/footer.png) center center no-repeat;height:400px}.dropdown-item:hover,.filter .dropdown-item:hover,.filter .dropdown-menu,.page-item.disabled .page-link,.page-link,footer .azlist ul li a{background-color:#1c1c1c;color:#ccc}.custom-file-label::after,.page-item.active .page-link,footer .azlist ul li a:hover,header #menu>ul>li>ul>li>a:hover h2,header #menu>ul>li>ul>li>a:hover h3,header #menu>ul>li>ul>li>a:hover h4,header #menu>ul>li>ul>li>a:hover span{background-color:#713abf;color:#fff}footer{background-color:#181818}#w-episodes .body .episodes.number ul li a.active,#w-episodes .body .episodes.number ul li a:hover,.tooltipster-sidetip .tooltipster-content .actions .favourite span,section#schedule .head{background:#713abf;color:#fff}#comment-rules,.ani.items.mode2 .item .info,.user-menu,.user-sidebar,.w2g-item>.inner,.watchlist.items,section#schedule .body{background:#1c1c1c}section#schedule .body .items a:hover{background:#525252;color:#fff}section#schedule .body .items a .ep,section#schedule .body .items a:hover .ep{background:#6230ad;color:#fff}.ep-status.sub,.ep-status.sub:before,.top-profile .notify .toggler.active:before,.w2g-item.live .screen .anime .inner .status,section#schedule .body .items a.old .ep{background:#713abf}section#schedule .body .more{background:#141414;border:none;color:#525252}section#schedule .body .more:hover{background:#161616;border:none;color:#ccc}header #menu>ul>li.active>a,header #menu>ul>li:focus-within>a,header #menu>ul>li:focus>a,header #menu>ul>li:hover>a{background-color:#6230ad;color:#fff}.modal-content{background-color:#1c1c1c;color:#525252;border:none}.modal-header{background-color:#0e0e0e;color:#525252}.form-control{color:#fff;background-color:#0e0e0e;border:none}#w-player #w-servers .tip b,.shorting .toggle:hover,.side.items .item .info .relation,.user-nav-folders a.folder,.user-notification .body-box .items .item .text-focus,.user-notification .body-box .items .item.old .text-focus{color:#6230ad}#w-info .brating .rating{background:url(https://cdn.discordapp.com/attachments/894632537354272839/999854663509745764/Feedback.png) bottom right/contain no-repeat #1c1c1c}#w-info .brating .rating .stars i:before,#w-info .brating .rating .stars span:before,.btn-primary,.current-episode-name span,.submit.filter.w-auto span{color:#0e0e0e}#w-info .brating .rating .stars{background-color:#3a2659}#w-player #w-servers .tip{background-color:#232323}.btn-secondary.active,.filter .btn-secondary.active,.side.items .item .inner:hover .dot+.dot:before{background-color:#ccc}.text-primary{color:#713abf!important}#w-episodes .head{border-bottom:#525252}#w-episodes .body .episodes.name ul li a{background-color:#141414;color:#ccc}#w-episodes .body .episodes.name ul li:nth-child(2n) a{background-color:#0f0f0f;color:#ccc}#w-episodes .body .episodes.name ul li a:hover{background-color:#1e1828;color:#fff}#w-player #w-servers .servers .type ul li{background-color:#525252;color:#ccc}#w-player #w-servers .servers .type ul li:hover{background-color:#848484;color:#fff}#w-player #w-servers .servers .type ul li.active{background-color:#713abf;color:#0e0e0e}.btn-secondary{background-color:#0f0f0f;color:#525252;border:1px solid #0f0f0f}.btn-secondary:hover,.filter .btn-secondary:hover{background-color:#141414;color:#ccc!important;border:1px solid #141414}.btn-secondary:active,.btn-secondary:focus,.btn-secondary:hover.form-control:focus{color:#ccc!important}.form-control::placeholder{color:#525252}.form-control:focus::placeholder{color:#747474}.btn-secondary:focus,.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.filter .btn-secondary:focus,.filter .btn-secondary:not(:disabled):not(.disabled).active,.filter .show>.btn-secondary.dropdown-toggle,.show>.btn-secondary.dropdown-toggle{background-color:#141414;color:#525252;border:1px solid #141414}#w-episodes .body .episodes.name ul li a:visited{background-color:#4b297c;color:#ccc}.dropdown-menu{background-color:#0e0e0e;color:#ccc}.dropdown-item{color:#525252}.display-modes .mode,.list-info,.user-notification .body-box .items .no-result{color:#372057}.display-modes .mode.active,.display-modes .mode:focus,.display-modes .mode:focus-within,.display-modes .mode:hover{color:#713abf}.filter .btn-secondary{background-color:#1c1c1c;color:#525252;border:1px solid #0f0f0f}.btn-secondary:focus,.btn-secondary:hover.form-control:focus,.filter .btn-secondary:active{color:#ccc!important}.filter .form-control::placeholder{color:#525252}.filter .form-control:focus::placeholder{color:#747474}.ani.items.mode2 .item .info .meta .m-item span,.dropdown-menu>li>label,.filter .dropdown-item,.user-notification .body-box .items .item.old .info .name,.w2g-item .room .info .created strong,.w2g-item .room .info .created time{color:#525252}#comment-rules .head,.ani.items.mode2 .item .info .genre a:hover,.dropdown-menu>.active>label,.dropdown-menu>.active>label:focus,.dropdown-menu>.active>label:hover,.dropdown-menu>li>input:checked~label,.dropdown-menu>li>input:checked~label:focus,.dropdown-menu>li>input:checked~label:hover,.folder-text-2,.top-profile .notify .toggler:hover,.user-actions a:hover,.watchlist.items .item.highlight .current,section .head .more:hover{color:#713abf}.pagination .page-item:first-child .page-link,.pagination .page-item:last-child .page-link{background-color:#372057;color:#ccc}.pagination .page-item:first-child .page-link:hover,.pagination .page-item:last-child .page-link:hover{background-color:#6230ad;color:#fff}.page-link:hover{background-color:#525252;color:#fff}.top-profile .notify .user-notification{background:#1c1c1c;border:1px solid #0e0e0e}.badge-light2{color:#372057;background-color:#6c4d97}.user.dropdown .dropdown-menu .logout{background:#0e0e0e}.top-profile .notify .user-notification .head-box{border-bottom:1px solid #0e0e0e}.tooltipster-sidetip .tooltipster-content .actions .favourite .dropdown-menu{border:none}.bg-secondary{background:#1c1c1c!important}.user-actions{background:#111}.btn-light,.btn-light2{background-color:#713abf}.form-control:focus{background-color:#141414;color:#fff}.form-control:disabled,.form-control[readonly]{background-color:#0e0e0e;color:#b7b7b7}.btn-light2:hover,.btn-light:hover{background-color:#6230ad;border:none}.btn-light2{border:none;color:#fff}.btn-light2:hover{color:#fff}.user-info .avatar span{outline:#713abf solid 5px}.btn-light{border:none}.ani.items .item .poster .meta.playing .progress>span,.custom-file-label{background:#4b297c}.avatar.items .item span.active,.avatar.items .item span:hover{outline:#713abf solid 4px}.dropdown-divider,.dropdown-menu>li.divider,.watchlist.items .item+.item{border-top:1px solid #525252}.ep-status.total:before,.head-box .tabs-sm .tab.active:after,.head-box .tabs-sm .tab:hover:after{background:#525252}.user-notification .body-box .items .item:hover{background:#282033}.custom-radio .custom-control-label::before{background-color:#0e0e0e;border-color:#0e0e0e}.custom-file-label{border-color:#1c1c1c}.alert,.alert-info,.mx-2{background:#713abf;color:#ccc}.custom-file:hover .custom-file-label::after{background-color:#834ed3}#w-episodes .body .episodes.number ul li a{background:#141414;color:#ccc}#w-episodes .body .episodes.number ul li a:visited{background:#4b297c;color:#ccc}.w2g-item .screen .bg:after{background:rgba(113,58,191,.45)}.alert,.alert-info{border:none}.donate-box{background:#1c1c1c;border:7px solid #0a0a0a}.donate-box .address{background:#0e0e0e;border:2px solid #0f0f0f}.donate-box .address .action>div{color:#713abf;border-color:#713abf}.donate-box .address .action>div:hover{color:#ccc;border-color:#713abf}.donate-box .address .info .addr{color:#4b297c}.tooltipster-sidetip{margin-left:97px;margin-top:-87px}header #menu>ul>li>ul+a:after{color:#6230ad;width:6px}section#top-anime .side.items .inner:hover{background:#2c2c2c}.ep-status.dub:before{background:#c39d00}.ani.items.mode2 .item .info .meta .m-item label{color:#626262}.ani.items.mode2 .item .info .genre a{color:#8b72b2}ul.az-filters li a{background:#1c1c1c;color: #ccc;}ul.az-filters li a:hover, ul.az-filters li a.active{background:#713abf;color: #fff;}#w-episodes .body .episodes.name ul li a.active, #w-episodes .body .episodes.name ul li a.active:visited{background:#713abf; color: #fff;}#w-episodes .body .episodes.number ul li a.active, #w-episodes .body .episodes.number ul li a.active:visited{background:#713abf; color: #fff;}#w-episodes .body .episodes.number ul li a.filler {background: #282033;color: #ccc;}#w-episodes .body .episodes.number ul li a.filler:visited{background:#4b297c;color: #ccc;}#w-episodes .filter .btn-secondary{background: #0e0e0e;} #w-episodes .filter .form-control{background: #0e0e0e;} #w-episodes .filter .dropdown-item{background: #0e0e0e;} #w-episodes .filter .dropdown-menu{background: #0e0e0e;}#w-seasons .seasons .season a .name{color:#fff}#w-seasons .seasons .season a:before{background:#713abf}#w-seasons .seasons .season a:hover:after, #w-seasons .seasons .season.active a:after{border-color:#713abf;}#w-seasons .seasons .season a:after{border-color:#4b297c;}#w-seasons .seasons .season a:hover:before, #w-seasons .seasons .season.active a:before{opacity: 0.4;}#i-wrapper .i-gohome a{background-color: #713abf;color: #fff;}#i-wrapper .i-gohome a:hover{background-color: #6230ad;color: #fff;}#i-wrapper .i-gohome{background: url();}#i-wrapper #i-top{background: url();background-color: #0e0e0e;}body.index{background: #1c1c1c;}#i-wrapper ul#i-menu li a{color: #ccc;}#i-wrapper ul#i-menu li a:hover{color: #713abf;}section.top-table .body .items .item:hover .dot+.dot:before, .swiper-pagination-bullet{background: #ccc;} .ani.items.mode2 .item .info:hover{background: #2c2c2c;} .ani.items .item .poster .release-status.info{margin-left: -14px;margin-top: -24px;padding-bottom: 2px;background: #713abf;color: #ccc;}section.top-table .body .items .item:hover .ep-status.sub, section.top-table .body .items .item:hover .ep-status.sub:before{background: #4b297c;}.ani.items .item .poster .release-status.info{margin-left: -14px;margin-top: -24px;padding-bottom: 1px;padding-right: 20px;background: #713abf;color: #ccc;} .user-notification .body-box .items .item:nth-child(2n) {background:#2c2c2c;} .custom-control-label::before{background: #0e0e0e;border-color: #0e0e0e;} .custom-switch .custom-control-input:checked~.custom-control-label::after{background: #4b297c;} .custom-switch .custom-control-input~.custom-control-label::after{background: #2c2c2c;} .custom-control-input:not(:disabled):active~.custom-control-label::before{background: #282033;border-color: #282033;} .custom-control-input:not(:disabled):active~.custom-control-label::after{background: #4b297c;} .btn-light2:not(:disabled):not(.disabled).active, .btn-light2:not(:disabled):not(.disabled):active, .show>.btn-light2.dropdown-toggle{background:#4b297c;border-color: #4b297c;color: #ccc;} .custom-control-label::before{border: none;} .w2g-item .screen .anime .inner .info .status{background: #282033;} .w2g-item:hover>.inner{background: #282033;} .w2g-item.live .screen .anime .inner .status{background: #713abf;} .w2g-item.live .screen .anime .inner .status span{color: #ccc;}";
document.body.appendChild(el);
})();