Last active
April 4, 2019 21:03
-
-
Save chriseyre2000/0fe585e1b1307b5f5ab1a4a3cfa6617e to your computer and use it in GitHub Desktop.
Exercism.io helper tampermonkey script - allows quickly to see how many one day old exercise there are.
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 Mentor Helper | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Helps to find items that are about a day old | |
// @author chriseyre2000 | |
// @match https://exercism.io/mentor/dashboard/next_solutions | |
// @grant none | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var items = $('.submitted-at:contains(24 hours)').length + $('.submitted-at:contains(day)').length; | |
$('a:contains(New solutions)').append(` To mark ${items}`) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This now correctly handles only 24 hours and days.
The previous version also included 24 mins.