| // ==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();␊ |