Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of Shrewdsmith | Best Of | Favourites & Replies | All Boards | Post of the Week!
Search Shrewdsmith
Shrewd'm.com Merry shrewd investors
Best Of Shrewdsmith | Best Of | Favourites & Replies | All Boards | Post of the Week!
Search Shrewdsmith


Halls of Shrewd'm / Shrewdsmith
Unthreaded | Threaded | Whole Thread (3) |
Author: wopger   😊 😞
Number: of 221 
Subject: Re: Favourites & Replies Tab
Date: 05/21/2024 11:35 AM
Post New | Post Reply | Report Post | Recommend It!
No. of Recommendations: 1
I wrote a ViolentMonkey script to sort it alphabetically and make the new message indicator more visible. It's pretty straightforward to do if you know JavaScript.

I had the same idea to display the boards with new messages with more contrast.
Screenshot to compare: above original - below after customization
https://i.postimg.cc/1X7SycQg/New-Colored.png

ViolentMonkey script:
// ==UserScript==
// @name hightlight unread boards for shrewdm.com
// @namespace Violentmonkey Scripts
// @match https://www.shrewdm.com/MB*
// @grant none
// @version 1.0
// @author wopger
// @description 18.5.2024, 17:00:00
// ==/UserScript==

// find all span-elements with textContent "¤"
Array.from(document.querySelectorAll("span"))
.filter(span => span.textContent == "¤")
.forEach(s => {
s.textContent = "NEW"; // replace "¤"
s.style.color = "red"; // replace "orange"
// set backgroundColor for whole table-row
s.parentElement.parentElement.style.backgroundColor = "#F4E5CE"; // "orange", "bisque", ...
});
Post New | Post Reply | Report Post | Recommend It!
Print the post
Unthreaded | Threaded | Whole Thread (3) |


Announcements
Shrewdsmith FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of Shrewdsmith | Best Of | Favourites & Replies | All Boards | Followed Shrewds