Skip to content

Instantly share code, notes, and snippets.

View xxdavid's full-sized avatar

David Pavlík xxdavid

View GitHub Profile
// ==UserScript==
// @name IS pretty math
// @author David Pavlík
// @match https://is.muni.cz/auth/**
// @grant none
// ==/UserScript==
(function() {
'use strict';
const imgs = document.getElementsByTagName('img');
@xxdavid
xxdavid / fi-drill-keybings.user.js
Last active June 7, 2018 16:10
FI Drill keybindings
// ==UserScript==
// @name FI Drill keybindings
// @author David Pavlík
// @match https://kabell.sk/fi_muni_drill/**
// @grant none
// ==/UserScript==
document.addEventListener('keypress', event => {
const bindings = {
'd': 'body > div.container.main > div > div.col-sm-9 > div:nth-child(3) > div div:contains(ne)',