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