levibostian / stay-chill

Browser extension to make websites less distracting. Focus on the content, not on notifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Experiment with trying to remove class list "unread" from elements

levibostian opened this issue · comments

Problem

Overriding css rules is time consuming, hard to get right, and could change at any moment. Instead, I am thinking about a different solution.

Instead of changing the CSS rules for classes such as .p-channel-name__unread, we remove the class from the elements. Making all channels in a read state.

Resources

Suggestion for observing nodes that get class name attached