Remove line breaks from translator

Latest Version

Version
1.3
Update
June 16, 2021
Size
9.73KiB
Developer
Category
Users
129
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
See more

Remove line breaks from translator Extension

用来自动去除换行符,并自动分段(仅支持英文到其他语言的翻译),使翻译更准确。
支持以下翻译网站:
translate.google.cn
translate.google.com
fanyi.youdao.com
fanyi.baidu.com
cn.bing.com/translator

暂没有插件开关按钮,后面再增加。
如果需要手工输入换行符,前面的字符需要是英文句号,冒号,感叹号,问号等才行。否则会被替换为空格。
------------------------------
Remove line breaks from translator.
It is mainly used to automatically delete line breaks in Google Translate when copying text from pdf to make the translation more accurate.
Support list:
translate.google.cn
translate.google.com
fanyi.youdao.com
fanyi.baidu.com
cn.bing.com/translator

TODO:
extension switch

Copyright © 2021 [email protected]
Read more

Source Manifest.json

{ "browser_action": { "default_icon": "icon.png", "default_popup": "popup.html" }, "content_scripts": [ { "js": [ "replaceLineBreaks.js" ], "matches": [ "*://translate.google.cn/*", "*://translate.google.com/*", "*://fanyi.baidu.com/*", "*://fanyi.youdao.com/*", "*://cn.bing.com/translator/*" ] } ], "description": "Remove line breaks from translator", "manifest_version": 2, "name": "Remove line breaks from translator", "update_url": "https://clients2.google.com/service/update2/crx", "version": "1.3"}
Read more