blackboardfix

blackboardfix Commit Details


Date:2018-01-12 22:52:21 (2 years 8 months ago)
Author:Natalie Adams
Branch:master
Commit:4688dfb9eb5de0e8d1e385e376390e192a58de3c
Parents: 8740b783b739ef6fa6507fcf7485bec6bd2d1805
Message:updating script

Changes:

File differences

blackboardfix.user.js
11
22
33
4
4
55
66
77
......
1515
1616
1717
18
19
18
19
20
21
22
23
24
25
26
// ==UserScript==
// @name Blackboard fix
// @namespace https://srchub.org
// @version 0.4
// @version 0.5
// @description Fixes the grade center to actually be usable
// @author Nathan Adams <nathan@allostech.com>
// @match https://lewisuniversity.blackboard.com/*
// 1kqfr9hYPHTwGdMev9b538sSeyLa5h4FR
//
var style = '<style>.gbtable tbody tr td, .gbtable tbody tr th, .gbtable_header th, .gbtable thead th { padding: 0px !important; height: 0px !important; }</style>';
$('html > head').append(style);
var style=document.createElement('style');
style.type='text/css';
var cssStyle = '.gbtable tbody tr td, .gbtable tbody tr th, .gbtable_header th, .gbtable thead th { padding: 0px !important; height: 0px !important; }';
if(style.styleSheet){
style.styleSheet.cssText=cssStyle;
}else{
style.appendChild(document.createTextNode(cssStyle));
}
document.getElementsByTagName('head')[0].appendChild(style);

Archive Download the corresponding diff file

Branches

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