Skip to content

Instantly share code, notes, and snippets.

@MichaelSnowden
Last active November 26, 2016 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelSnowden/1dbe5e439b563d3a05dd7c45b473313d to your computer and use it in GitHub Desktop.
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.
// ==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