Last active
November 26, 2016 07:59
-
-
Save MichaelSnowden/1dbe5e439b563d3a05dd7c45b473313d to your computer and use it in GitHub Desktop.
User script to prevent peeking in Duolingo. Download tampermonkey, and then click 'raw' on this page and it should install the script for you.
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
// ==UserScript== | |
// @name NoPeekDuolingo | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Prevents peeking in Duolingo practice sessions | |
// @author Michael Snowden | |
// @match https://www.duolingo.com/practice | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
function noPeek() { | |
$(".hint-popover").remove(); | |
setTimeout(noPeek, 10); | |
} | |
noPeek(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment