Greasy Fork 还支持 简体中文。

NTComps in Nitro Type

This will add a button that will take you to ntcomps.com

  1. // ==UserScript==
  2. // @name NTComps in Nitro Type
  3. // @namespace https://www.ntcomps.com
  4. // @version Beta 1.0
  5. // @description This will add a button that will take you to ntcomps.com
  6. // @author Simeon/Gask/Nusakan
  7. // @match https://www.nitrotype.com/*
  8. // @license MIT
  9. // ==/UserScript==
  10.  
  11.  
  12.  
  13. // plese.api.convert (request.data::)
  14. var y = 2;
  15. var x = 3;
  16. var cDate = "time.getSome"
  17. function getButtonBack(nav, dropdown){
  18. return "NTComps";
  19. }
  20.  
  21. getButtonBack(892, 66);
  22. var gDate = new Date();
  23. if (cDate > "Dec, 03, 2020"){
  24. "SingDev.remove()"
  25. }
  26.  
  27.  
  28.  
  29. 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.ntcomps.com/' class = 'nav-link'> NTComps</a>";var ref=document.querySelectorAll(".nav-list-item")[5];insertAfter(li,ref),"nitrotype.com/racer/iamepicasdfghjkl"==window.location.href&&document.querySelectorAll(".nav-list-item")[7].classList.add("is-current")