免费中英对照翻译(简明版教程)
Wesson准备工作:
说明:将以下这段 JavaScript 全选拖动至书签
javascript: (function() {
for (var node of document.querySelectorAll('p, li, h1, h2, h3, h4')) {
var copy = document.createElement(node.nodeName);
copy.textContent = node.textContent;
node.parentElement.insertBefore(copy, node.nextElementSibling);
node.setAttribute('translate', 'no');
node.setAttribute('class', 'notranslate')
}
})();

操作步骤:
- 打开需要翻译的英文网页
- 点击书签栏的 Bookmarklet 书签,此时会将网页文本段落原地复制一份
- 点击浏览器自带的翻译,即可呈现中英对照



补充说明:
- 本方法不限制设备(Mac,Windows ……),只依赖浏览器