>>110525272
Reposting my 4chanX thread watcher mod from last thread to show if threads are bump limited. It'll probably work in 4chanXT too.
A mod for 4chanX to add a red L (or whatever css you want) to bump limited threads in the threadwatcher:
Add this shit to the end of the function ThreadWatcher.makeLine, but before the return div;
//MODDED - add bump-limit-reached class to threadwatcher entries
//no point checking the bump limit for dead or archived threads.
//Also, data.replies is usually not available to dead or archived threads
if(!data.isDead && !data.isArchived) {
//execute after boardconfig is ready
BoardConfig.ready(() => {
if(data.replies > BoardConfig.boards[boardID].bump_limit) {
$.addClass(div, 'bump-limit-reached');
}
});
}
Then add this css as custom css wherever you want (or even within the 4chanX source code css, wherever will work):
.bump-limit-reached .watcher-page::after {
content:'L'; color: red !important; position: relative; top: -0.5em; font-size: 80%;
}