某些博客的优化

如果有些人的博客颜色过于鲜艳,或者樱花看板娘的特效,如HEOI动*的博客,可以在F12然后在下面输入一行

$("body, span, p, div, a").css({"background-image":"url()", "color":"black", "cursor":"auto"});
$("canvas").hide();
document.getElementsByTagName("html")[0].onclick = function(){}
$("body").append($(`<style>body:before{background:#fff !important;}</style>`))

优化后可修改大部分博客

$("body").append($(`<style>#jsi-flying-fish-container,#sidebar_topdiggedposts,
#sidebar_topcommentedposts,.catListComment,#catListLink,#sidebar_search,
#sidebar_news,.img_avatar,.pome,#blog-calendar,#post_next_prev,#author_profile,
#blog_post_info,#MySignature,#cnblogs_post_body > div[style='text-align: right'],
#back-top,#div_digg,#waifu,#player,#snowbox{display:none !important;}</style>`));
$("body").append($(`<style>body{background:#fff !important;}</style>`))
$("body").append($(`<style>body:before{background:#fff !important;}</style>`))
setInterval(()=>{window.a_idx=-1},100)
$(".aplayer-icon-volume-down").click();
$("body").css('cursor','initial');
$("canvas").remove();
$("body, span, p, div, a").css({"background-image":"url()", "color":"black", "cursor":"auto"});
posted @ 2020-10-17 20:37  hyskr  阅读(270)  评论(1编辑  收藏  举报