Forum customization
-
@sockpuppet7 said in Forum customization:
@HardwareGeek what is so annoying with forum notifications?
Funny you should ask. I have gotten a "stuck" chat notification ( ) since we last chatted, even though I've opened and closed the chat multiple times.
In fact, I've chatted with someone else since then, but that notification is still there. And it's there even when I log in from another device.
-
@sockpuppet7 said in Forum customization:
@HardwareGeek TIL the necro banner doesn't show when the necroing is the first post on a new page
Well, yes, because it doesn’t have a previous post context to compare to (because it won’t have loaded that one)
-
Someone said in a mysterious place beyond the open section of the forum:
I use a dark theme. This emoji is microaggressing me.
I've posted this userscript on the forum before, but oddly enough not in this topic: wtdwtf emoji inverter. TLDR, it lets you invert emojis that don't show up on dark themes (or any emoji you like, for any reason).
In this particular case, the result looks something like this:
-
I have the following custom CSS:
[...a ton of other selectors...] .emoji[data-emoji-id='soon'], .emoji[data-emoji-id='tm'], .emoji[data-emoji-id='top'], .emoji[data-emoji-id='wavy_dash'], .emoji[data-emoji-id='whoosh'] { filter: invert(1); }
But it obviously no longer matches the HTML being produced by the forum software:
<img src="https://what.thedailywtf.com/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f51c.png?v=grn1kta83uc" class="not-responsive emoji emoji-emoji-one emoji--soon_arrow" title=":soon_arrow:" alt="🔜">
I'll need to update this with new selectors.
-
@Zecc My userscript lets you do it on the fly. Maybe as an enhancement I could update it to persist to custom css instead of just its own inline stylesheet, but
-
-
@Tsaukpaetra As it is, it saves to local storage. But putting it in the custom CSS would also enable the invert effect on mobile where you can't use the userscript
-
@hungrier I've somehow managed to survive to ${now} without using any userscripts ever, so I'm not inclined to start now.
-
@Zecc Fair enough. They can be quite useful though; you should look into them if you ever have the time and motivation :running_warthog:
-
@Zecc said in Forum customization:
@hungrier I've somehow managed to survive to ${now} without using any userscripts ever, so I'm not inclined to start now.
The call of the is strong.