Greasy Fork 还支持 简体中文。

proboards disable redirect.viglink.com

read name

  1. // ==UserScript==
  2. // @name proboards disable redirect.viglink.com
  3. // @namespace https://gdccdated.glitch.me/
  4. // @description read name
  5. // @author BZZZZ
  6. // @license GPLv3
  7. // @include /^https?\:\/\/[^.]+\.(?:proboards\.com|freeforums\.net|boards\.net)\//
  8. // @exclude /^https?\:\/\/www\.proboards\.com\//
  9. // @version 0.1
  10. // @grant none
  11. // @run-at document-end
  12. // @inject-into content
  13. // ==/UserScript==
  14.  
  15. "use strict"
  16. const x=document.createElement("div")
  17. x.setAttribute("onclick",`"use strict"
  18. document.body.appendChild=new Proxy(document.body.appendChild,{
  19. apply:(targ,tthis,args)=>{
  20. if(args.length&&args[0] instanceof HTMLScriptElement&&"/vglnk.js"===args[0].src.slice(-9))throw "nope"
  21. return targ.apply(tthis,args)
  22. }
  23. })`)
  24. x.click()