Skip to content

【多引擎搜索】,处理【iframe谷歌】的【登录框弹出】 by hanshou101

Details

Authorhanshou101

LicenseNo License

Category123

Created

Updated

Size3.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

123

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           2022/8/14 19:38:38
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
:root {
  --iframe-gap: 0.4%;
  --ifrmae-google-width: 68%;
  --iframe-scrollbar-small-width: 5px;
}
@-moz-document domain("www.gobaidugle.com") {
  iframe[src^="https://www.google.com"] {
    width: var(--ifrmae-google-width);
  }
  iframe[src^="https://www.baidu.com"] {
    width: calc(100% - var(--iframe-gap) - var(--ifrmae-google-width));
  }
}
@-moz-document url-prefix("https://www.google.com") {
  html[stylus-iframe*="www.gobaidugle.com"] {
    background: black;
  }
  html[stylus-iframe*="www.gobaidugle.com"] body {
    overflow: auto;
  }
  html[stylus-iframe*="www.gobaidugle.com"] body .HTjtHe {
    visibility: hidden !important;
  }
  :is(html[stylus-iframe*="localhost"])::-webkit-scrollbar {
    width: var(--iframe-scrollbar-small-width);
    height: 5px;
  }
  :is(html[stylus-iframe*="localhost"])::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }
  :is(html[stylus-iframe*="localhost"])::-webkit-scrollbar-thumb {
    background-color: #11171a;
    border-radius: 10px;
  }
  :is(html[stylus-iframe*="localhost"]) :is( div#searchform, form[action="/search"], div#sfcnt) {
    display: none;
  }
}
@-moz-document url-prefix("https://www.baidu.com") {
  :is(html[stylus-iframe*="www.gobaidugle.com"], html[stylus-iframe*="localhost"]) {
    background: black;
    overflow-x: hidden;
  }
  :is(html[stylus-iframe*="www.gobaidugle.com"], html[stylus-iframe*="localhost"]) body div#wrapper_wrapper div#container {
    margin-left: 2em !important;
  }
  :is(html[stylus-iframe*="www.gobaidugle.com"], html[stylus-iframe*="localhost"]) div#page div {
    padding-left: 0;
  }
  :is( html[stylus-iframe*="localhost"])::-webkit-scrollbar {
    width: var(--iframe-scrollbar-small-width);
    transition: all;
  }
  :is( html[stylus-iframe*="localhost"]):hover::-webkit-scrollbar {
    width: 72px;
  }
  :is( html[stylus-iframe*="localhost"])::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
  :is( html[stylus-iframe*="localhost"])::-webkit-scrollbar-thumb {
    background-image: url("https://media1.giphy.com/media/rvMmdCAgLYFfPtIng5/giphy.webp"), linear-gradient(100deg, transparent, transparent), -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0.2) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.2) 75%, transparent 75%, transparent);
    background-color: #D62929;
    border-radius: 10px;
    background-position: center bottom, center -40px;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
  }
  :is( html[stylus-iframe*="localhost"]) :is(/*  div.result-molecule ,  */div#head) {
    display: none;
  }
  :is( html[stylus-iframe*="localhost"]) :is( div#s_tab) {
    padding: unset !important;
  }
}
@-moz-document url-prefix("https://hackerone.com/hacktivity") {
  html[stylus-iframe*="localhost"] header {
    display: none;
  }
}
/*# sourceMappingURL=【多引擎搜索】,处理【iframe谷歌】的【登录框弹出】.css.map */

Reviews

No reviews yet.