Began from that thread:
@small improvement request. In merited posts, show your name in red or bold or..hatshepsut93 made two userscripts for forum users. They are all great, but there are not too many users have technical skills to use userscripts, they are not coders. I think if it does not result in issues for forum, and does not take too much time, it will be great if you spend a little precious time to add them for forum users.
Non-coders will be happy if forum integrates those features.- Displays of total received merits for posts/ threads.
- Displays of username (logged-in account), if they sent already sent merit(s), at 1st position in list of merit senders for posts/ threads.
Display username at 1st position in list of merit senders of posts/threadsStrange that no one has made it yet, here's a script for this:
// ==UserScript==
// @name Bitcointalk Highlight My Name in Merit
// @version 1.0
// @grant none
// @include https://bitcointalk.org/index.php?topic=*
// @run-at document-end
// ==/UserScript==
;[...document.querySelectorAll(".td_headerandpost")].forEach(post => {
let myName = document.querySelector("#hellomember b").textContent
let allMerits = [...post.querySelectorAll(".smalltext i > a")]
let myMerit = allMerits.find(e => e.textContent === myName)
if (myMerit) {
myMerit.style["font-weight"] = 1000
if (allMerits.indexOf(myMerit) !== 0) {
let myScore = myMerit.nextSibling
post.querySelector(".smalltext i").removeChild(myMerit)
post.querySelector(".smalltext i").removeChild(myScore)
allMerits[0].before(myScore)
myScore.before(myMerit)
}
}
})
Screenshot:

Also check my related userscript that sums all merits of a post ->
https://bitcointalk.org/index.php?topic=5148488.msg52264117#msg52264117 Sum and display total received merits of posts/ threadsI don't know if it was done before, couldn't find anything like that, so I made a tiny script that sums all mertis of a post and displays it before individual merits
Like this:

// ==UserScript==
// @name Bitcointalk Post Merit Sum
// @version 1.0
// @grant none
// @include https://bitcointalk.org/index.php?topic=*
// @run-at document-end
// ==/UserScript==
;[...document.querySelectorAll(".td_headerandpost")].forEach(post => {
try {
let sum = [...post.querySelectorAll(".smalltext i > a")]
.map(e => {
return parseInt(e.nextSibling.textContent.match(/\((.*)\)/)[1])
})
.reduce((acc, e) => acc + e, 0)
if (sum > 0) {
let sumElement = document.createElement("span")
sumElement.textContent = `Total merit: ${sum} | `
post.querySelector(".smalltext i").prepend(sumElement)
}
} catch (e) {
console.error(e)
}
})