tianyun 3 years ago
parent
commit
65d09d04ac
1 changed files with 16 additions and 0 deletions
  1. 16 0
      tmp/monkey/notion-移动到最新页面.js

+ 16 - 0
tmp/monkey/notion-移动到最新页面.js

@@ -0,0 +1,16 @@
+// ==UserScript==
+// @name              T-notion-迁移到最新页面
+// @author            tianyunperfect
+// @description       简介
+// @version           1.0.0
+// @update            2022年05月17日12:06:16
+// @include           https://*.notion.so/*
+// @require           https://git.tianyunperfect.cn/tianyunperfect/web-base/raw/master/tmp/monkey/util.js?a=1
+
+// ==/UserScript==
+(async () => {
+    let a = (await getDom('[style="width: calc(100% - 0px); user-select: none;"] a'));
+    if (a) {
+        location.href = a.href;
+    }
+})();