Greasy Fork is available in English.

Blur spoken text - duolingo.com

11/30/2019, 9:13:45 AM

// ==UserScript==
// @name        Blur spoken text - duolingo.com
// @namespace   Violentmonkey Scripts
// @match       https://www.duolingo.com/*
// @grant       GM_addStyle
// @grant       GM_log
// @version     1.0
// @author      Einar Lielmanis <gm@spicausis.lv>
// @description 11/30/2019, 9:13:45 AM
// ==/UserScript==

const update = () => {
  const prompts = document.querySelectorAll('div[data-test="challenge-translate-prompt"]')
  const prompt = prompts[0]
  if (prompt && ! prompt.lookedAt) {
    prompt.lookedAt = true
    const btn = prompt.querySelectorAll('button')
    if ( ! btn[0]) {
      prompt.querySelectorAll('span[data-test="hint-sentence"]').forEach( elt => { elt.classList.add('unblur') })
    }
  }
}

GM_addStyle(`
div[data-test="challenge-translate-prompt"] span[data-test="hint-sentence"] {
    color: transparent;
    text-shadow: 0 0 10px rgba(0,0,0, 0.81);
    padding: 20px 80px 20px 20px;
    background:#f4f4f4;
    border-radius: 8px;
}
.unblur,
div[data-test="challenge-translate-prompt"] span[data-test="hint-sentence"]:hover
 {
    color: #111 !important;
    text-shadow: none !important;
}
`)

const timer = () => {
  update()
  setTimeout(timer, 500)
}

timer()