script.js#英語と日本語間の翻訳しかできないので注意
import "/api/code/inteltank/DeepL/en2jp.js"
import "/api/code/inteltank/DeepL/jp2en.js"
en2jp.jsscrapbox.PopupMenu.addButton({
title: 'DeepL en2jp',
onClick: function (text) {
window.open('https://www.deepl.com/ja/translator#en/ja/'+ text);
}
});
jp2en.jsscrapbox.PopupMenu.addButton({
title: 'DeepL jp2en',
onClick: function (text) {
window.open('https://www.deepl.com/ja/translator#ja/en/'+ text);
}
});