Skip to content

Commit

Permalink
feat: 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Reamd7 committed Jan 19, 2022
1 parent 92dff98 commit 00f823e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notion-zh_CN.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Notion-zh_CN notion的汉化脚本
// @namespace http://tampermonkey.net/
// @version 2.4.0
// @version 2.4.1
// @description notion的100%汉化脚本,基于官方中文+机器翻译韩文,支持app版本以及网页油猴/UserScript,地址:https://github.com/reamd7/notion-zh_CN
// @author reamd7
// @match *://www.notion.so/*
Expand Down Expand Up @@ -8113,14 +8113,14 @@
if (isSafari) {
const notionRoot = document.createElement('div');
notionRoot.id = "notion-app"
notionRoot.setAttribute("data", 1);
notionRoot.setAttribute("data-inject", true);
document.body.append(notionRoot);
scriptSrcList.forEach(url => {
const script = document.createElement("script");
script.type= 'text/javascript';
script.defer = "defer";
script.src = url;
script.setAttribute("inject")
script.setAttribute("data-inject", true)
document.head.append(script)
})
}
Expand Down

0 comments on commit 00f823e

Please sign in to comment.