Last active
July 15, 2016 07:49
-
-
Save MichaelSnowden/f16082985d6304c36dd2150a8ebbc997 to your computer and use it in GitHub Desktop.
Count remaining lessons on Duolingo. You need jQuery on the page for this. This is a great plugin for that https://chrome.google.com/webstore/detail/jquery-injector/indebdooekgjhkncmgbkeopjebofdoid/related?hl=en. Run this on the Duolingo home page to see how many lessons you have remaining https://www.duolingo.com/
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
"Lessons left: " + $(".lessons-left").text().split("").map((v, i) => i % 3 == 0 ? -parseInt(v) : i % 3 == 1 ? 0 : parseInt(v)).reduce((a, b) => a + b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment