Greasy Fork

KissAnime KissCartoon KissAsian no-ads clean layout part 2

used by part 1

目前为 2017-03-29 提交的版本。查看 最新版本

// ==UserScript==
// @name        KissAnime KissCartoon KissAsian no-ads clean layout part 2
// @description used by part 1
// @namespace   hebiohime
// @icon        https://kissanime.ru/images/icons/favicon_new.ico
// @match       *://kissanime.ru/*
// @match       *://kisscartoon.com/*
// @match       *://kissasian.com/*
// @match       *://kissmanga.com/*
// @require     https://greasyfork.org/scripts/4900-kissanime-anti-adblock-blocker/code/KissAnime%20Anti-Adblock%20Blocker.user.js
// @version     2017.29.3
// @grant       none
// ==/UserScript==

//scrolls video and eps buttons up, great for lower height monitors
$("#selectEpisode")[0].scrollIntoView({behavior: "smooth",block: "start"});
//re-order selection bar
$("#selectEpisode").after($("#slcQualix"));
$("#selectEpisode").before($("#selectPlayer"));
$("#selectPlayer").before($("#selectServer"));
$(document).ready(function() {$(".clear").each(function(i) {$(this).attr('id','clear' + (i));});});$('.clear2').hide();
/*
$("div[style*='float: left; padding-left: 20px']").after($("#switch"));
$(function(){$("#switch").html('<img src="/Content/images/light_bulb_off.png"></img>')});
$("#switch").css("width","16px");
$("#switch").css("margin-top","5px");

//past
$('#adsIfrme7').remove();
$('#divFloatLeft').remove();
$('#gwd-image_1').remove();
$('#divAds2').remove();
$('#divAds').remove();
$('#adsIfrme3').remove();
$('#divFloatLeft').remove();
$('#adsIfrme1').remove();
$('#divFloatRight').remove();
$(".videoAdClose").remove();

//removes footer likes/others bar and bookmark link for space and less clutter
$(".addthis_native_toolbox").remove();
$('#footer').remove();
$('#divBookmark').remove();
$(".clsTempMSg").remove();
$(".st_fblike_hcount").remove();
$(".st_facebook_hcount").remove();
$(".st_twitter_hcount").remove();
$(".st_googleplus_hcount").remove();
$(".st_sharethis_hcount").remove();
$("a[href*='http://kisscartoon.me/Message/ReportError']").parent().remove();
$("a[href*='http://kissasian.com/Message/ReportError']").parent().remove();

//a few styles
$("#selectEpisode").css("margin-bottom","10px");
$("#divDownload").css("padding-top","0px");
$("#divFileName").css("padding-top","0px");
$(".barContent").css("padding-top","10px");
$(".barContent").css("padding-bottom","5px");
//non-classed/id'd styles 
$("div[style*='height: 100px']").css("padding-top","0px");
$("div[style*='height: 100px']").css("height","55px");
$("div[style*='width: 600px']").css("padding-top","0px");
$("div[style*='width: 950px']").css("width","1000px");
$("div[style*='width: 970px']").css("width","1000px");
$("div[style*='margin: 10px 48px 10px 0']").css("margin-top","0px !important");

//gets rid of comments box and small link at the bottom if uncommented, just to sqeeze that last bit of space out
$("a[href*='#']").remove ();$("div[style*='height: 55px']").css("height","0px");$('#divComments').remove();
//scrolls video and eps buttons up, great for lower height monitors
$("#selectEpisode")[0].scrollIntoView({behavior: "smooth",block: "start"});

//moves quality selector for just a tiny bit more space
$("#selectEpisode").before($("select[id*='selectQuality']"));
$("#selectQuality").css("margin-right","10px");
$("div[style*='float: left; padding-left: 20px']").css("height","25px");
$("#switch").css("width","16px");
$("#switch").css("margin-top","5px");
$("div[style*='float: left; padding-left: 20px']").after($("#switch"));
$(function(){$("#switch").html('<img src="/Content/images/light_bulb_off.png"></img>')});
$("div[style*='font-size: 17px; width: 685px; display: inline-block;']").remove();
$("div[style*='font-size: 17px; width: 854px; display: inline-block;']").remove();

$("div[style*='float: left; width: 85%; text-align: left']").remove();

//hides some of the empty space divs
*/