Skip to content

Commit 5c5f1d3

Browse files
committed
fix
1 parent d269a9e commit 5c5f1d3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Switch Traditional Chinese and Simplified Chinese/Switch Traditional Chinese and Simplified Chinese.user.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// @name:ja 简繁
55
// @name:en Switch Traditional Chinese and Simplified Chinese
66
// @namespace hoothin
7-
// @version 1.1.1
7+
// @version 1.1.2
88
// @description 任意轉換網頁中的簡體中文與繁體中文(默認簡體→繁體)
99
// @description:zh-CN 任意转换网页中的简体中文与繁体中文(默认繁体→简体)
1010
// @description:ja 简繁中国語に変換
@@ -80,6 +80,7 @@
8080
if(char.charCodeAt(0) > 10000){
8181
index=scStr.indexOf(char);
8282
if(index != -1)str+=tcStr.charAt(index);
83+
else str+=char;
8384
}
8485
else str+=char;
8586
}
@@ -93,6 +94,7 @@
9394
if(char.charCodeAt(0) > 10000){
9495
index=tcStr.indexOf(char);
9596
if(index != -1)str+=scStr.charAt(index);
97+
else str+=char;
9698
}
9799
else str+=char;
98100
}

0 commit comments

Comments
 (0)