Stylus: FR: Allow disabling a style on a user-specified domain (not host)

Created on 18 Dec 2020  路  4Comments  路  Source: openstyles/stylus

  • Browser: Firefox
  • Operating System: All
  • Stylus Version: 1.5.13

Unless I'm not seeing something, Stylus allows the user to disable a style on a specific host or URL. (Note that the string being used in the UI says "domain", but it really should be "host".) I'm not seeing a way to disable a style for an entire domain (ex. google.com).

The only way I think this can be currently done is by using a regex in the "applies to" section, but this gets ugly (and possibly slow) if a style is to be disabled on multiple domains.

Can this functionality be added, or if it already exists, kindly point me to it?

enhancement

Most helpful comment

I think our current UI for exclusion is unnecessarily primitive. It should have adopted the method we had for ages in the write-style widget at the bottom of the popup. In addition to that we could show an input box that contains the current result and allows manual editing.

All 4 comments

I think our current UI for exclusion is unnecessarily primitive. It should have adopted the method we had for ages in the write-style widget at the bottom of the popup. In addition to that we could show an input box that contains the current result and allows manual editing.

@tophf Thanks. I agree. Are you also confirming that there is currently no way via the UI to exclude a domain instead of a host (except using a regex in the Applies to section)?

Not that I'm aware of.

@tophf Thanks. Same here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HoLLy-HaCKeR picture HoLLy-HaCKeR  路  74Comments

xt0rted picture xt0rted  路  51Comments

narcolepticinsomniac picture narcolepticinsomniac  路  27Comments

darkred picture darkred  路  58Comments

narcolepticinsomniac picture narcolepticinsomniac  路  74Comments