Greasy Fork

Greasy Fork is available in English.

no-ads clean layout KA

clean up ads and prioritize vertical space, fork of slim headers by userscripts.org/user/swyter

当前为 2017-03-28 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        no-ads clean layout KA
// @description clean up ads and prioritize vertical space, fork of slim headers by userscripts.org/user/swyter
// @namespace   hebiohime
// @icon        https://kissanime.io/images/icons/favicon_new.ico
// @match       *://kissanime.io/*
// @match       *://kisscartoon.io/*
// @match       *://kissasian.io/*
// @match       *://kissmanga.com/*
// @version     2017.28.3.1
// @grant       GM_addStyle
// @run-at      document-start
// ==/UserScript==

GM_addStyle(" \
\
\
/*my edits*/ \
#divBookmark {display: none!important;visibility: hidden!important;}\
#divDownload {padding-top: 0px!important;}\
#divDownload {padding-top: 5px;!important;}\
#divTextQua {display: none!important;visibility: hidden!important;}\
#footer {display: none!important;visibility: hidden!important;}\
#info_player {display: none!important;visibility: hidden!important;}\
#next_ep_desk {margin-bottom: -5px!important;margin-top: 5px!important;}\
#selectQuality {margin-left: 10px!important;}\
#selectPlayer {margin-right: 10px!important;}\
#videoAd {display: none!important;visibility: hidden!important;}\
.bigBarContainer {margin-bottom: 0px!important;}\
.closeVideoAd {display: none!important;visibility: hidden!important;}\
.full .watch_container {padding-top: 5px!important;}\
.lbl {display: none!important;visibility: hidden!important;}\
.mb15 {display: none!important;visibility: hidden!important;}\
.note_top_watch {display: none!important;visibility: hidden!important;}\
.watch_container {padding-top: 5px!important;}\
.watch_title {display: none!important;visibility: hidden!important;}\
\
             #head + .clear                     \
             {                                  \
               clear: none;                     \
               height: 76px;                    \
             }                                  \
                                                \
             #head h1                           \
             {                                  \
               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;         \
             }");

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;         \
             }");




//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: 0px !important; float: right;} #imgSearch {background: transparent;} \
//#divTextQua, #clear1, #clear2, #clear3, #clear4, #clear5, #clear6 {height: 0px; padding-top: 0px; display: none;} #navcontainer #liRequest, #li1, #result_box + div iframe {display: none !important;} form#formSearch > div:last-child {margin-top: 0px !important; float: right;}");

//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;}");