Convert between simplified and traditional Chinese characters on any webpage, display the Pinyin for the Chinese characters, customize text replacement.
< Feedback on Switch Traditional Chinese and Simplified Chinese
v1.2.6.24 到 v1.2.6.25 有個小錯誤
v1.2.6.24
v1.2.6.25
if (/BR|META|SCRIPT|HR|STYLE/.test(child.tagName.toUpperCase())) continue;
child.tagName 有可能為空
child.tagName
沒看邏輯稍微改了一下
加上 var tagName = child.tagName ?? "";
var tagName = child.tagName ?? "";
底下用到 child.tagName 都改為 tagName
tagName
多謝!已經訂正了。你也可以直接去 github 給我 pr
Sign in to post a reply.
v1.2.6.24
到v1.2.6.25
有個小錯誤child.tagName
有可能為空沒看邏輯稍微改了一下
加上
var tagName = child.tagName ?? "";
底下用到
child.tagName
都改為tagName