Greasy Fork

Naver SE

Minimal design for Naver.com

当前为 2021-12-24 提交的版本,查看 最新版本

// ==UserScript==
// @name              Naver SE
// @name:ko           네이버 SE

// @description       Minimal design for Naver.com
// @description:ko    네이버 미니멀디자인 페이지

// @namespace         https://ndaesik.tistory.com/
// @version           2021.12.25.07:52
// @author            ndaesik
// @icon              https://www.google.com/s2/favicons?domain=naver.com
// @include           https://www.naver.com/

// @run-at            document-start
// ==/UserScript==
var styles = `
  html  {overflow:hidden!important;}
  #search_btn  {background-color: #00c73c!important;}
  #container  {padding:unset!important;}
  .green_window  {border-color:#19ce60!important;}
  #wrap>div:not(#header):not(#container), #header>div:not(:first-child),
  .group_flex>:not(#search), #container>:not(#NM_INT_RIGHT), #NM_INT_RIGHT>div>div:not(.sc_my):not(#account)  {display: none!important;}
  #NM_INT_RIGHT  {position:fixed!important; right:0!important; top:0!important; z-index: 9999!important;}
  #header,#header>div,#header>div>div
  {height:100vh!important; width:100vw!important; padding:unset!important; border:unset!important; background:unset!important;}
  #header
  { background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Naver_Logotype.svg/1200px-Naver_Logotype.svg.png)no-repeat!important;
    border-top: 2px solid #00c73c!important; background-size: 350px 69px!important; background-attachment: fixed!important; background-position: 50% 38%!important;}
  #header .search_area{width:586px!important; left:calc(50% - 293px)!important;}`
var styleSheet = document.createElement("style")
styleSheet.type = "text/css"
styleSheet.innerText = styles
document.head.appendChild(styleSheet)