// ==UserScript== // @name Duolingo Enable Japanese // @namespace https://github.com/InacioNeto/DuolingoEnableJapanese/ // @version 0.1 // @description try to take over the world! // @author You // @match https://www.duolingo.com/ // @grant none // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js // @downloadURL none // ==/UserScript== // Append some text to the element with id someText using the jQuery library. $("li[data-value='eo']").attr('data-value', 'ja'); $("span[data-value='eo']").attr('data-value', 'ja'); $("span[data-value='ja']").text('Japanese'); $('span[class="flag flag-svg-micro flag-eo"]').attr("class", "flag flag-svg-micro flag-ja");