// ==UserScript== // @name 618 双11_淘宝&天猫、京东、拼多多-天天拿隐藏优惠券 省钱导航条! // @namespace 618 双11_淘宝&天猫、京东、拼多多-天天拿隐藏优惠券 省钱导航条! // @version 0.0.1a // @description 618 双11一键获取淘宝、天猫京东、拼多多的隐藏优惠券,跳转去网站 拿优惠券 ! // @author javduke // @include * // @connect socheap.store // @grant GM_xmlhttpRequest // @require http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js // @downloadURL https://update.greasyfork.icu/scripts/404827/618%20%E5%8F%8C11_%E6%B7%98%E5%AE%9D%E5%A4%A9%E7%8C%AB%E3%80%81%E4%BA%AC%E4%B8%9C%E3%80%81%E6%8B%BC%E5%A4%9A%E5%A4%9A-%E5%A4%A9%E5%A4%A9%E6%8B%BF%E9%9A%90%E8%97%8F%E4%BC%98%E6%83%A0%E5%88%B8%20%E7%9C%81%E9%92%B1%E5%AF%BC%E8%88%AA%E6%9D%A1%EF%BC%81.user.js // @updateURL https://update.greasyfork.icu/scripts/404827/618%20%E5%8F%8C11_%E6%B7%98%E5%AE%9D%E5%A4%A9%E7%8C%AB%E3%80%81%E4%BA%AC%E4%B8%9C%E3%80%81%E6%8B%BC%E5%A4%9A%E5%A4%9A-%E5%A4%A9%E5%A4%A9%E6%8B%BF%E9%9A%90%E8%97%8F%E4%BC%98%E6%83%A0%E5%88%B8%20%E7%9C%81%E9%92%B1%E5%AF%BC%E8%88%AA%E6%9D%A1%EF%BC%81.meta.js // ==/UserScript== /* eslint-disable */ function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } var logo = document.createElement("div"); logo.innerHTML = ' '; document.body.insertBefore(logo, document.body.firstChild); addGlobalStyle('.body-horizontal { margin-top: 30px; } .body-vertical { margin-left: 100px; } #all-search { position: fixed; display: flex !important; background-color: #ffffe5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } .as-horizontal { height: 30px; width: 23%; top: 0; z-index: 999999; border-bottom: 1px #FFFFF1 solid; flex-direction: row; } .as-vertical { width: 100px; top: 0; left: 0; z-index: 999999; border-right: 1px #e8e8e8 solid; flex-direction: column; } .as-setting { line-height: 30px; padding: 0 16px; position: relative; margin: 0; white-space: nowrap; cursor: pointer; font-size: 14px; color: #606266; } .as-setting:hover { color: #1890ff; } @media screen and (max-width: 768px) { .as-title { display: none; } } .as-title-horizontal { width: 100px; margin: 0 10px; } .as-title-vertical { width: 100%; } .as-title { text-decoration: none !important; padding: 0; margin: 0; } .as-title .as-title-inner { font-size: 18px; height: 30px; line-height: 30px; font-weight: 600; color: #ce5153; margin: 0 auto; text-align: center; cursor: pointer; } .as-menu { flex: 1; } .as-menu::before, .as-menu::after { display: table; content: ""; } .as-menu::after { clear: both; } .as-menu { width: 100%; padding: 0; margin-top: 0; margin-bottom: 0; white-space: nowrap; border: 0; box-shadow: none; background-color: #fff;transparent; display: flex; } .as-menu--horizontal { flex-direction: row; } .as-menu--horizontal .as-menu-item-active { border-bottom: 2px solid #1890ff; } .as-menu--horizontal .as-subMenu-container { left: -22px; top: 24px; } .as-menu--vertical { flex-direction: column; } .as-menu--vertical .as-menu-item { margin: 5px 0; } .as-menu--vertical .as-menu-item-active { border-right: 2px solid #1890ff; } .as-menu--vertical .as-subMenu-container { left: 85px; top: -16px; } .as-menu-item { height: 30px; line-height: 30px; list-style: none; position: relative; transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .as-menu-item-icon { margin: 1.25px 10px 0 0; line-height: 28.75px; } .as-menu-item-title { padding: 0 16px; position: relative; margin: 0; white-space: nowrap; cursor: pointer; font-size: 14px; display: flex; align-items: center; color: #606266; background-color: #ffffe5; border-bottom: 2px solid rgba(255, 255, 255, 0); transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .as-menu-item-title:hover { color: #570000; } .as-menu-item-active { color: #570000; } .as-menu-item-active .as-menu-item-icon { color: #570000; } .as-menu-item-active .as-menu-item-title { color: #570000; } .as-subMenu-container { padding: 0 20px 20px; position: absolute; z-index: 99; transform-origin: 30% 0 0; } .as-subMenu { list-style: none; padding: 4px 0; min-width: 90px; border: 1px solid #e4e7ed; border-radius: 4px; background-color: #fff; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); box-sizing: border-box; margin: 10px 0; } .as-subMenu li { font-size: 14px; padding: 0 20px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #606266; height: 34px; line-height: 34px; box-sizing: border-box; cursor: pointer; } .as-subMenu li:hover { background-color: #f5f7fa; color: #1890ff; } .drop-enter-active, .drop-leave-active { transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); } .drop-enter, .drop-leave-to { opacity: 0; transform: scaleY(0.0001); } .fade-enter-active, .fade-leave-active { transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); } .fade-enter, .fade-leave-to { opacity: 0; } .as-subMenu-group-list { list-style: none; padding: 0; } .as-subMenu-group-list .as-menu-item-title { padding-left: 44px; }');