Skip to content

Instantly share code, notes, and snippets.

@m4tx
Created November 15, 2014 11:58
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 m4tx/479646852955a89d1bda to your computer and use it in GitHub Desktop.
Save m4tx/479646852955a89d1bda to your computer and use it in GitHub Desktop.
Greasemonkey script to hide unnecessary problems groups
// ==UserScript==
// @name Satori Problems auto-hide
// @namespace https://m4tx.pl/
// @version 1.0
// @description Auto-hide unnecessary problem groups in VLO "E" class contest
// @author Mateusz Maćkowski <m4tx@m4tx.pl>
// @match https://satori.tcs.uj.edu.pl/contest/1448205/problems
// @grant none
// ==/UserScript==
for ($i = 1; $i < 7; ++$i) {
$("#content > form > div:nth-of-type(" + $i + ")").removeClass("unhidden").addClass("hidden")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment