blackboardfix

blackboardfix Commit Details


Date:2018-01-26 10:54:43 (7 years 2 months ago)
Author:Natalie Adams
Branch:master
Commit:b5d274c5705fc27785ad4ff79283019ce56085a9
Parents: c9333b0ddca2be38c3c61b3d776d337617d82e5b
Message:Adding key of b to jump to first grade input

Changes:

File differences

blackboardfix.user.js
11
22
33
4
4
55
66
77
......
4646
4747
4848
49
50
51
52
4953
5054
5155
// ==UserScript==
// @name         Blackboard fix
// @namespace    https://srchub.org
// @version      0.7
// @version      0.8
// @description  Fixes the grade center to actually be usable
// @author       Nathan Adams <nathan@allostech.com>
// @match        https://lewisuniversity.blackboard.com/*
if (window.location.href.includes("assessment/do/gradeTest")) {
    jQuery(document).keydown(function (e) {
        if (e.which == 66) { // b
            jQuery("input[id^=points]").first().focus();
            e.preventDefault();
        }
        if (e.which == 78) { // n
            var ide = jQuery(":focus").attr("id").replace("points_", "");
            jQuery("#" + ide).next().find("input[id^=points__]").focus();

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.07531s using 14 queries.