Created
January 19, 2021 12:47
-
-
Save martinsfjoao/d8bcb69e7a8320a51a8a41d351101493 to your computer and use it in GitHub Desktop.
Deepl Translate Bookmarklet
This file contains 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
javascript: (function () { | |
let textToTranslate = prompt("Enter the text you want to translate:"); | |
if (textToTranslate != null) { | |
window.location = 'https://www.deepl.com/en/translator#en/es/' + encodeURIComponent(textToTranslate); | |
} | |
else { | |
window.location = 'https://www.deepl.com/'; | |
} | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment