Greasy Fork is available in English.

hao123去广告+萌化+自动切换背景

hao123去广告+萌化+自动切换背景,几千张壁纸随机切换

// ==UserScript==
// @name         hao123去广告+萌化+自动切换背景
// @namespace    https://www.acy.moe
// @supportURL   https://www.acy.moe
// @version      1.0.4
// @description  hao123去广告+萌化+自动切换背景,几千张壁纸随机切换
// @author       NEET姬
// @match        *://www.hao123.com/*
// @license      GPL-3.0-only
// ==/UserScript==

(function() {var css = "";
if (false || (document.domain == "www.hao123.com" || document.domain.substring(document.domain.indexOf(".www.hao123.com") + 1) == "www.hao123.com"))
	css += [
		"/*新版hao123*/",
		"  .sk_skin-color-green",
		"  {",
		"    width: 100%;",
		"/*url(网址)---网址为背景图地址,把图片上传到任意图床,然后把图片链接黏贴到这里即可*/",
		"    background: url(https://www.acy.moe/api/1) !important;",
		"    background-attachment: fixed !important;",
		"    background-position: center center !important;",
		"    background-repeat: no-repeat !important;",
		"    background-size: cover !important;",
		"  }",
		"",,
		"  #sites2_wrapper  >*",
		"  {",
		"/*调整中间那个框的边框圆角弯度*/",
		"    border-radius: 15px !important;",
		"/*调整中间那个框内的颜色/透明度*/",
		"    background: rgba(255,255,255,.4) !important;",
		"/*调整中间那个框的渐变时间*/",
		"    transition: background-color 0.3s !important;",
		"/*调整中间框内的整体内容位置(那个0调得越高,显示的行数越多)*/",
		"    padding: 50px 0px 50px 55px !important;",
		"/*调整中间那个框的阴影*/",
		"    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px 2px !important;",
		"/*调整中间那个框的左右位置*/",
		"    margin-left: 65px !important;",
		"/*调整中间那个框的上下位置*/",
		"    margin-top: 105px !important;",
		"/*调整中间那个框的高度位置*/",
		"    height: 90px !important;",
		"/*调整中间那个框的宽度位置*/",
		"    width: 950px !important;",
		"  }",
		"",
		"  #sites2_wrapper >*:hover",
		"  {",
		"/*跟上面那个关联,调整鼠标移动到窗口内的颜色/透明度*/",
		"    background: rgba(255,255,255,.9) !important;",
		"  }",
		"",
		"  #sites2_wrapper .js_manage.site-manage",
		"  {",
		"/*调整\"添加地址\"按钮的图片和大小位置*/",
		"    content: url(https://i.loli.net/2018/11/23/5bf75c0bddd1f.png);",
		"    background: rgba(255,255,255,0) !important;",
		"    height: 20px !important;",
		"    width: 20px !important;",
		"    margin: 135px 10px!important;",
		"    visibility: visible !important;",
		"  }",
		"",
		"  .i-input",
		"  {",
		"/*调整邮箱框颜色/透明度*/",
		"    background: rgba(255,255,255,0.6) !important;",
		"  }",
		"",
		"  .g-ib.textWrapper.shadow-hook.wrapper-hook",
		"  {",
		"/*调整百度搜索框颜色/透明度*/",
		"    background: rgba(255,255,255,0.6) !important;",
		"  }",
		"",
		"  .popup-site-holder",
		"  {",
		"/*调整登录后管理常用地址位置*/",
		"    top: -180px; !important;",
		"  }",
		"",
		"  .popup-site-w",
		"  {",
		"/*调整未登录管理常用地址位置*/",
		"    top: -80px; !important;",
		"  }",
		"",
		"",
		"/*下面是隐藏其余内容,请勿乱调整*/",
		".bottom-banner",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"#lefttip",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"#topAd",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".aging-tools",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".aging-tools.ariatheme",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".g-ib.layout-right",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".index-page-inner.ewc.s-sbg2",
		"  {",
		"    background-image:none !important;",
		"  }",
		"",
		"#top-anim",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".background-img",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".g_icon",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".coolsites-wrapper",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".navrecommend-hjw",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		".box-famous-resource",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"#topbeWrapper",
		"  {",
		"    display: none !important;",
		"  }",
		".topbe-wrapper",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  #box-toplist0",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  #box-toplist1",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .g-bigrender",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .rightTip",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .hot-num",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .shortcut-box",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .skinbtn__link",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .hotsearch-box",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .siye",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .skinbtn",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  #bottom-be",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .popup-site-cms.js_psite-cms",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .g-ib.layout-left",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .hao123-footer",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .siye-link",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .close-btn",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  #notice",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  #hao123-govsite",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .common-sites",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .split-line",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  #sites_cover",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  .sethome",
		"  {",
		"    display: none !important;",
		"  }",
		"",
		"  #footer",
		"  {",
		"    background: rgba(255,255,255,0) !important;",
		"    border-color: rgba(255,255,255,0) !important;",
		"  }",
		"",
		"  .sites2-wrapper.g-ib",
		"  {",
		"    background: rgba(255,255,255,0) !important;",
		"    border-color: rgba(255,255,255,0) !important;",
		"  }",
		"",
		"  .popup-site-shadow",
		"  {",
		"    margin-left: -70px !important;",
		"  }",
		"",
		"  .header",
		"  {",
		"    background: rgba(255,255,255,0) !important;",
		"    border-color: rgba(255,255,255,0) !important;",
		"  }",
		"",
		"  #topColumn",
		"  {",
		"    background: rgba(255,255,255,0) !important;",
		"    border-color: rgba(255,255,255,0) !important;",
		"  }",
		"",
		"  .tabs-toggle.tabs-toggle-hook",
		"  {",
		"    background: rgba(255,255,255,0) !important;",
		"  }",
		"",
		"  .textInput.input-hook",
		"  {",
		"    background: rgba(255,255,255,0) !important;",
		"  }"
	].join("\n");
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node);
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();