FirefoxBar / xStyle

A user styles manager for Firefox and Chrome
http://team.firefoxcn.net/#addons
GNU General Public License v3.0
171 stars 13 forks source link

Feature Request #81

Open awsdert opened 3 years ago

awsdert commented 3 years ago

The ability to tell the browser to ignore all CSS from a domain (including what comes from the style attribute) but still allow xstyle rules to be active, useful for doing a global colour scheme then adding in domain specific rules for layout (assuming you don't like the basic "unstyled" layout it provides from just HTML)

awsdert commented 3 years ago

It would also be nice to use a filter to allow background image css from the blocked domain/s (I know of a site where this is needed in this situation)

Edit: Just thought, for simplicity the filter for both domains and individual element disabling/enabling should just use CSS selectors, some thing like this

@-moz-document domain(www.google.com)
{
  * { --original-css-enabled: false }
  a, input, button, select, textarea { --original-css-enabled: true }
}
awsdert commented 3 years ago

Also provide an option to stop ALL auto-inserting, that st is annoying and making me LESS efficient, can't even get a simple indent right with having to delete what xstyle shoved in after adding a new line, also I'm not in the habit of expecting auto-complete to fill in without giving me the option to just continue typing what **I**** want to type, having to delete text after attempting to type :hover because xstyle auto-inserted the whole thing after I just type :h is EXTREMELY annoying, I expect a basic editor that gets out of the way, not one that does everything it can to stay IN the way

Edit: Found a setting for turning off that crappy auto-indent, doesn't change the annoyance factor of the rest though.