Skip to content

Commit 328d2d9

Browse files
committed
跳过 幻影异闻录♯FE
1 parent 7147b8b commit 328d2d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name NotSoSharp
33
// @namespace https://github.com/gui-ying233/NotSoSharp
4-
// @version 1.5.0
4+
// @version 1.5.1
55
// @description 尝试还原萌娘百科部分一方通行所屏蔽的内容
66
// @author 鬼影233
77
// @license MIT
@@ -62,7 +62,7 @@
6262
}
6363
pageName += `${pageName ? ":" : ""}${mw.config.get("wgTitle")}`;
6464
const r = (a, b, c = pageName) => {
65-
if (a[b].includes("\u266F")) a[b] = c;
65+
if (a[b].includes("\u266F") && a[b] !== "幻影异闻录♯FE") a[b] = c;
6666
};
6767
r(document.getElementById("firstHeading"), "innerText");
6868
r(document, "title", `${pageName} - 萌娘百科_万物皆可萌的百科全书`);

0 commit comments

Comments
 (0)