NDT injector

For those who don't have dev tools. Hit ctrl + shift + i to open and close it

当前为 2020-10-07 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name NDT injector
  3. // @namespace https://warum-llamas.tk
  4. // @version 1.2
  5. // @description For those who don't have dev tools. Hit ctrl + shift + i to open and close it
  6. // @author You
  7. // @match *://*/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. var NDTSCRIPT = document.createElement("SCRIPT");
  15. var SCRIPTDW=new XMLHttpRequest();
  16. SCRIPTDW.open("GET","https://gitcdn.xyz/cdn/Joe-Capewell/ndt/5ac1a4b7551d51c29afe4d4fd4691a2240074b47/ndt.js");
  17. SCRIPTDW.onload=function(){
  18. NDTSCRIPT.innerHTML=xhr.response;
  19. document.body.insertBefore(NDTSCRIPT, document.body.childNodes[0]);
  20. }
  21. SCRIPTDW.send();
  22. })();