A merry & shrewd investing community |
Best Of Shrewdsmith |
| Unthreaded | Threaded | Whole Thread (3) | Prev | Next |
// ==UserScript==
// @name hightlight unread boards for shrewdm.com
// @namespace Violentmonkey Scripts
// @match Shrewd'm: Shrewd'm: A Merry and Shrewd Investing Research and Education Community*
// @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", ...
});
| Unthreaded | Threaded | Whole Thread (3) | Prev | Next |
Best Of Shrewdsmith | Best Of | Favourites & Replies | All Boards | Followed Shrewds | Open Questions | Moving a community