// ==UserScript== // @name 淘宝简化 // @namespace https://greasyfork.org/users/149095 // @version 1.0 // @description 简化 // @author SettingDust // @license MIT // @grant GM_addStyle // @run-at document-start // @match *://*/* // @downloadURL none // ==/UserScript== (function() { let css = `.tbh-superbanner, .tbh-decorations, .tbh-logo, .tbh-qr-wrapper, .search-ft, .tbh-nav, .tbh-tipoff, .tbh-conve, .tbh-notice, .tbh-app, .tbh-venues, .screen-outer, .seat-gg, .tbh-discover-goods, .tbh-shop, .tbh-live, .tbh-sale, .tbh-fashion, .tb-tanx-wrapper, .tbh-fixedtool, .site-nav-seller, .site-nav-free, .site-nav-mobile, .site-nav-sitemap, .hotsale-hd, .tbh-helper, .hotsale-ft, #J_SiteFooter { display: none !important } .tbh-member { background: none !important } .layer-inner { margin: 0 } .search-panel-fields { background: white; } .J_Top { background: transparent; padding-top: 96px } .tbh-hotsale { padding: 48px 0; background: transparent; } .tbh-hotsale .list { display: flex; flex-wrap: wrap; justify-content: center; } .tbh-hotsale .list .item { margin: 16px; padding: 0; border-radius: 8px; background: #f4f4f4; border: none; transition: 225ms; box-shadow: 0 0 3px rgba(0, 0, 0, .12); } .tbh-hotsale .list .item:hover { box-shadow: 6px 6px 12px #d7d7d7, -6px -6px 12px #ffffff; transition: 225ms; } .tbh-hotsale .list .item h4, .tbh-hotsale .list .item .info { padding: 0 12px; } .tbh-hotsale .list .item .item-more { width: 100%; padding: 8px 12px; box-sizing: border-box; height: unset; } .tbh-hotsale .list .item .item-more .similar { display: none; } .tbh-hotsale .list .item .img-wrapper { background: transparent; } .layer { width: unset; } @media(min-width: 1588px) { .layer { padding: 0 130px } } @media(min-width: 1831px) { .layer { padding: 0 196px } }`; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { const styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();