Title pretty much sums it up.
The external style sheet has the following code:
td.EvenRow a { display: none !important; }
I have tried using:
element.style.display = 'inline';
and
element.style.display = 'inline !important';
but neither works. Is it possible to override an !important style using javascript.
This is for a greasemonkey extension, if that makes a difference.
I believe the only way to do this it to add the style as a new CSS declaration with the ‘!important’ suffix. The easiest way to do this is to append a new <style> element to the head of document:
The rules added with the above method will (if you use the !important suffix) override other previously set styling. If you’re not using the suffix then make sure to take concepts like ‘specificity‘ into account.