Created
March 25, 2020 09:10
-
-
Save nyanshiba/1b330e4b5f7ed7b124e7584ae5bfab81 to your computer and use it in GitHub Desktop.
DeepL Japanese English Bookmarklet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//SelectionがあればURLエンコしてdeepl.comに流す、なければ空で押し通る雑仕様 | |
//English -> Japanese | |
javascript: (function () { | |
open('https://www.deepl.com/translator#en/ja/' + encodeURIComponent(window.getSelection()) + '', '_blank'); | |
} )() | |
//Japanese -> English | |
javascript: (function () { | |
open('https://www.deepl.com/translator#ja/en/' + encodeURIComponent(window.getSelection()) + '', '_blank'); | |
} )() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment