From 44dc70f5339093e5d6f148a657ba59339c0f4bab Mon Sep 17 00:00:00 2001 From: Tw93 Date: Fri, 7 Apr 2023 22:42:34 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=85=BC=E5=AE=B9=E6=96=B0?= =?UTF-8?q?=E7=89=88=E5=B0=8F=E7=BA=A2=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/pake.json | 2 +- src-tauri/src/inject/style.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src-tauri/pake.json b/src-tauri/pake.json index a97dcc7..b982a5e 100644 --- a/src-tauri/pake.json +++ b/src-tauri/pake.json @@ -1,7 +1,7 @@ { "windows": [ { - "url": "https://weread.qq.com/", + "url": "https://www.xiaohongshu.com/explore", "transparent": true, "fullscreen": false, "width": 1200, diff --git a/src-tauri/src/inject/style.js b/src-tauri/src/inject/style.js index 76931cf..06a9251 100644 --- a/src-tauri/src/inject/style.js +++ b/src-tauri/src/inject/style.js @@ -13,6 +13,8 @@ window.addEventListener('DOMContentLoaded', (_event) => { #Wrapper > div.sep20, #Main > div.box:nth-child(8), #masthead-ad, + #app > div.layout > div.main-container > div.side-bar > div, + #app > div.layout > div.main-container > div.side-bar > li.divider, #Rightbar > div:nth-child(6) > div.sidebar_compliance { display: none !important; } @@ -70,7 +72,8 @@ window.addEventListener('DOMContentLoaded', (_event) => { top: 30px; } - .geist-page nav.dashboard_nav__PRmJv { + .geist-page nav.dashboard_nav__PRmJv, + #app > div.layout > div.header-container.showSearchBoxOrHeaderFixed > header > a { padding-top:10px; }