NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Google translate report error - automatically select your language code // @namespace http://tampermonkey.net/ // @version 0.1 // @description Automatically select the specified language code. // @author TAKAHASHI Shuuji // @match https://translate.google.com/translate_error* // @copyright 2018, shuuji3 (https://openuserjs.org/users/shuuji3) // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; const lang = 'ja'; document.querySelector(`option[value="${lang}"]`).setAttribute('selected', ''); })();