NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name FISO Excel
// @namespace nickchild
// @include http://www.fiso.co.uk/forum/*
// @version 1
// @grant none
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('.row1 { background-color: #ffffff; border-color: #bbb }');
addGlobalStyle('.row1 td { border: 1px solid #bbb; padding: 0; margin: 0}');
addGlobalStyle('.row2 { background-color: #ffffff; border-color: #bbb}');
addGlobalStyle('.row2 td { border: 1px solid #bbb; padding: 0; margin: 0}');
addGlobalStyle('.row3 { background-color: #ffffff; border-color: #bbb}');
addGlobalStyle('.spacer { display:none ; }');
addGlobalStyle('.categoryfooter_row1 { display:none ; }');
addGlobalStyle('table { border-spacing: 0px; border-collapse: collapse; border: none}');
addGlobalStyle('.profile td { border-left: 0px; border-right: 0px; }');
addGlobalStyle('.gensmall { border: 0px !important; }');
addGlobalStyle('.tablebg th { background: #999; }');
addGlobalStyle('.quotetitle { padding: 0; margin: 0; background-color: #999 }');
addGlobalStyle('.quotecontent { padding: 0; margin: 0; color: #000 }');
addGlobalStyle('.postauthor { color: #000 !important }');
addGlobalStyle('* { font-family: Calibri; font-size: 9pt }');
addGlobalStyle('.postbody, .quotecontent { font-family: Calibri; font-size: 9pt }');
addGlobalStyle('* a, a:link { color: #000 !important; font-family: Calibri; text-decoration: underline }');
addGlobalStyle('.quotetitle, .quotecontent { border-color: #aaa }');
$('img').each(function () {
$(this).replaceWith(
$(this).attr('alt')
);
});