Nitro Type Leaderboard Button

This script adds a Leaderboard button to your NitroYype navigation bar. Once you click the button, it takes you to the NitroType leaderboards page

// ==UserScript==
// @name         Nitro Type Leaderboard Button
// @version      1.0
// @description  This script adds a Leaderboard button to your NitroYype navigation bar. Once you click the button, it takes you to the NitroType leaderboards page
// @author       dizbro
// @match        https://www.nitrotype.com/*
// @namespace https://greasyfork.org/users/900432
// ==/UserScript==



// plese.api.convert (request.data::)
var y = 2;
var x = 3;
var cDate = "time.getSome"
function getButtonBack(nav, dropdown){
    return "leaderboard";
}

getButtonBack(892, 66);
var gDate = new Date();
 if (cDate > "Dec, 03, 2020"){
     "leaderboard.remove()"
 }



	function insertAfter(e,r){r.parentNode.insertBefore(e,r.nextSibling)}var li=document.createElement("li");li.className="nav-list-item",li.innerHTML="<a href = 'https://www.nitrotype.com/leaderboards' class = 'nav-link'> Leaderboards </a>";var ref=document.querySelectorAll(".nav-list-item")[5];insertAfter(li,ref),"https://www.nitrotype.com/leaderboards"==window.location.href&&document.querySelectorAll(".nav-list-item")[7].classList.add("is-current");