{background: !moreimportantthanimportant} (style vs !important)
How to make background transparent if it's have "background:#fefefe !important" on site? Is it possible?
I tried some manipulations with width, height and padding but something i do wrong
I tried some manipulations with width, height and padding but something i do wrong
Comments
You can't fight an inline
!important
with external CSS.I suggest writing your style as usual but remove the inline styles with some Javascript (apply with an extension like Tampermonkey).
For example:
thanks, how can I apply this code only for one sitE?
For fun you can always test out the Myf maneuver.
https://forum.userstyles.org/discussion/comment/97780/#Comment_97780
You can fight if this
!important
is*.css
on this page or in<style>
- must use same XPath / CSS selectors.It will only be active for sites specified in the
@match
statement.Here is some more information, but probably unnecessary. Just paste your desired URL / Domain after
// @match
and you'll be fine.*
resembles wildcard.https://developer.chrome.com/extensions/match_patterns