Translate selected text into another language using the DeepL API.
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
It is now possible to select a language other than Japanese for translation. The available languages are listed here: (https://developers.deepl.com/docs/ja/resources/supported-languages#target-languages)
The contents of the README have been updated to reflect the current script specifications.
The script's metadata has been updated, allowing it to run in more situations. (e.g., ftp://, myapp://)
Previously, the API key was hardcoded into the script. Now, the API key is entered during the first execution of the script and stored in global local storage.
With the above change, the stored API key can now be updated by pressing Alt + r.
Alt
r
I modified the output so that it is displayed as:
[source text] -> [result text]
Previously, this userscript could not be used with local files. After this update, it is now compatible with local files.