Easily Accessible New Replies Script

Currently viewing this thread:

Zombie Warrior

Sergeant Knight
So I created this little script for the confused, the nostalgic, the angry and the lazy people out here who wished the new forums would have a handy shortcut link like in the old smf software. It's not exactly how things used to be, but this script will put a "New Replies" link next to "Help" in the nav bar.

You can run the script manually or through your favourite plugin on pretty much every browser except IE. But I recommend violent monkey.
// ==UserScript==
// @name     Easily Accessible New Replies
// @version  1
// @grant    none
// @match    https://forums.taleworlds.com/*
// ==/UserScript==
const createTag = (tagType, tagClass) => {
    let newTag = document.createElement(tagType);
    return newTag;

window.onload = () => {
    let newLink = createTag("a", "p-navEl-link");
    newLink.setAttribute("href", "https://forums.taleworlds.com/index.php?find-threads/contributed");
    newLink.appendChild(document.createTextNode("New Replies"));
    let newDiv = createTag("div", "p-navEl");
    let newListItem = document.createElement("li");

By the way, this script is not compatible with versions <= 2 of my Square Avatar script, so please update to the newest version if you're using it.
Last edited:
Top Bottom