• ⚠️ UK Access Block Notice: Beginning July 1, 2025, this site will no longer be accessible from the United Kingdom. This is a voluntary decision made by the site's administrators. We were not forced or ordered to implement this block. If you're located in the UK, we recommend using a VPN to maintain access.

D

diyCTB

Mage
Oct 28, 2018
573
Hello,

I am trying to permanently change background color of message in chat when pinged because in dark mode it's a strain on the eyes.
I read that uBlock can do that with Element Picker and then it adds element to My Filters list where you can modify it but I don't know how.

Here is CSS code that is responsible for text background color:

.siropuChatMention {
background: #ffe4b5;
border-radius: 5px;
padding: 5px;
}

And this is element that is added to My Filters:

sanctioned-suicide.net##.js-lbContainer.siropuChatMention.siropuChatMessageRow

Anyone knows how to connect these things together and create a code that modifies background color?

Thanks
 
Versailles

Versailles

Enlightened
Oct 1, 2020
1,652
It's just changing the color palette, you don't need to modify the CSS directly
 
D

diyCTB

Mage
Oct 28, 2018
573
It's just changing the color palette, you don't need to modify the CSS directly
Yes, only this: background: #ffe4b5; but I don't know how to accomplish this in uBlock.
 
D

diyCTB

Mage
Oct 28, 2018
573
Change the default yellow background in dark theme to something dark that would contrast between white text and dark silver background. Black background would work. I can't read messages that are pinged at me on PC and smartphone:
Screenshot 20220220 100514 Chrome
 

Similar threads

bed
Replies
10
Views
3K
Offtopic
sick.sad.lost
S
LonelyKitten
Replies
37
Views
10K
Suicide Discussion
lilurki
lilurki