|
@@ -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;
|
|
|
+ }
|
|
|
+})();
|