Hypr / Add Back Discuss

// ==UserScript==
// @name         Add Back Discuss
// @namespace    hypr.discuss
// @include      https://scratch.mit.edu/*
// @version      0.1
// @description  Adds back the 'Discuss' Link.
// @author       Hypr
// @grant        none
// @license      MIT
// ==/UserScript==

window.addEventListener('load', () => {
    if (document.getElementsByClassName("site-nav")) {
        nav = document.getElementsByClassName("site-nav")[0];
        nav.innerHTML = "<li><a id=\"project-create\" href=\"/projects/editor/\">Create</a></li><li><a href=\"/explore/projects/all\">Explore</a></li><li><a href=\"/discuss/\">Discuss</a></li><li><a href=\"/tips\">Tips</a></li><li class=\"last\"><a href=\"/about/\">About</a></li>";
    }
});