// ==UserScript== // @name KissAnime Slimmer Header // @description Removes the cruft from this site's navigation bar. // @namespace userscripts.org/user/swyter // @match *://kissanime.com/* // @match *://kisscartoon.me/* // @match *://kissanime.to/* // @match *://kissasian.com/* // @match *://kissmanga.com/* // @version 2016.02.10 // @grant GM_addStyle // @run-at document-start // @contributionURL https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=swyterzone%40gmail%2ecom&item_number=swydonations¤cy_code=EUR // @downloadURL none // ==/UserScript== /* rules for a slimmer header */ GM_addStyle("#head + .clear \ { \ clear: none; \ height: 76px; \ } \ \ #head h1 /* for kisscartoon */ \ { \ margin-top: 10px !important; \ } \ \ #head h1 a.logo[title^=KissAnime] \ { \ width: 243px !important; \ height: 65px !important; \ } \ #head h1 a.logo[title*=kissmanga] \ { \ width: 240px !important; \ height: 68px !important; \ } \ #head h1 a.logo[title^=KissAsian] \ { \ height: 60px !important; \ } \ \ #search \ { \ z-index: 2; \ } \ \ #search::after \ { \ content: ''; \ position: absolute; \ display: inline-block; \ \ z-index: -1; \ \ width: 100%; \ height: 30px; \ \ background: #2C2C2C; \ border-radius: 7px 7px 0 0; \ \ top: -10px; \ left: 0; \ } \ \ #navcontainer ul \ { \ position: absolute; \ } \ \ #navcontainer #liRequest, #li1, \ #result_box + div iframe \ { \ display: none !important; \ } \ \ form#formSearch > div:last-child \ { \ margin-top: 0 !important; \ float: right; \ } \ \ #imgSearch \ { \ background: transparent; \ }"); /* Small tweaks for all those sites people requested */ if (document.domain !== 'kissmanga.com') return; GM_addStyle("#head h1 \ { \ position: absolute; \ top: 10px; \ border-radius: 16px; \ margin-left: 2px !important; \ } \ \ #search input.text \ { \ width: 134px !important; \ } \ \ #topHolderBox \ { \ height: 30px !important; \ }");