diff --git a/README.md b/README.md index 2067440..8c67ff3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

Pake

-
很简单的用 Rust 打包网页生成很小的 Mac App,底层使用 Tauri,支持微信读书、Twitter、语雀、RunCode、Witeboard、Flomo、Vercel、V2EX 等,详细小白开发教程可见底部。
+
很简单的用 Rust 打包网页生成很小的 Mac App,底层使用 Tauri,支持微信读书、Twitter、Youtube、Reference、RunCode、Witeboard、Flomo、语雀、Vercel、V2EX 等,详细小白开发教程可见底部。

## 特征 @@ -23,9 +23,17 @@ + + YouTube Download + Reference Download + + + + + RunCode Download - Witeboard Download + Witeboard Download diff --git a/README_EN.md b/README_EN.md index cd89771..eb81246 100644 --- a/README_EN.md +++ b/README_EN.md @@ -2,7 +2,7 @@

Pake

-
A simple way to package a web page with Rust to create Mac App, using Tauri as underlying layer, supporting WeRead、Twitter、YuQue、RunCode、Flomo、Witeboard、Vercel、V2EX, detailed development tutorial can be seen at the bottom.
+
A simple way to package a web page with Rust to create Mac App, using Tauri as underlying layer, supporting WeRead、Twitter、Youtube、Reference、Flomo、Witeboard、YuQue、RunCode、Vercel、V2EX, detailed development tutorial can be seen at the bottom.

## Features @@ -23,9 +23,17 @@ + + YouTube Download + Reference Download + + + + + RunCode Download - Witeboard Download + Witeboard Download @@ -53,7 +61,7 @@ More common apps can be downloaded from [Release](https://github.com/tw93/Pake/r 6. `command + w`:Hide window, not quite 7. `command + -`:ZoomOut Page 8. `command + =`:ZoomIn Page -9. `command + 0`:Reset Page zoom +9. `command + 0`:Reset Page zoom In addition, it supports double clicking the head to switch to full screen, and dragging the head to move the window diff --git a/src-tauri/icons/reference.icns b/src-tauri/icons/reference.icns new file mode 100644 index 0000000..3733b25 Binary files /dev/null and b/src-tauri/icons/reference.icns differ diff --git a/src-tauri/icons/youtube.icns b/src-tauri/icons/youtube.icns new file mode 100644 index 0000000..ef0b80c Binary files /dev/null and b/src-tauri/icons/youtube.icns differ diff --git a/src-tauri/src/pake.js b/src-tauri/src/pake.js index ef02261..1684836 100644 --- a/src-tauri/src/pake.js +++ b/src-tauri/src/pake.js @@ -26,10 +26,19 @@ window.addEventListener('DOMContentLoaded', (_event) => { #Rightbar > div.box:nth-child(4), #Main > div.box:nth-child(8) > div #Wrapper > div.sep20, - #Main > div.box:nth-child(8) { + #Main > div.box:nth-child(8), + #Rightbar > div:nth-child(6) > div.sidebar_compliance { display: none !important; } + ytd-masthead>#container.style-scope.ytd-masthead { + padding-top: 12px !important; + } + + .wrap.h1body-exist.max-container > div.menu-tocs > div.menu-btn{ + top: 28px; + } + #Wrapper{ background-color: #F8F8F8 !important; background-image:none !important;