Reddit-Enhancement-Suite icon indicating copy to clipboard operation
Reddit-Enhancement-Suite copied to clipboard

Disable SRS when loading custom stylesheet.

Open benmcgarry opened this issue 4 years ago • 2 comments

When a user is loading a custom stylesheet in stylesheet loader, we should automatically disable subreddit CSS for that targeted sub(s). Currently it does not and the user has to manually toggle in the URL bar for the external/sub css to show/apply.

https://github.com/honestbleeps/Reddit-Enhancement-Suite/blob/master/lib/modules/stylesheet.js#L314

benmcgarry avatar Apr 25 '20 13:04 benmcgarry

What if they are trying to adjust the subreddit CSS?

creesch avatar Apr 25 '20 13:04 creesch

https://github.com/honestbleeps/Reddit-Enhancement-Suite/blob/master/lib/modules/stylesheet.js#L335

We have that which we could adopt to make it the option if they want to completely toggle or not.

benmcgarry avatar Apr 25 '20 14:04 benmcgarry