Advertisement
Guest User

Untitled

a guest
Mar 13th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. // ==UserScript==
  2. // @name spigot no depreciated
  3. // @version 0.1
  4. // @description remove depreciated methods
  5. // @author whoever
  6. // @match *://hub.spigotmc.org/javadocs/spigot/org/bukkit/*
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. const removethese = document.getElementsByClassName('deprecatedLabel');
  11. for(let i = 0; i < removethese.length; i++){
  12. removethese.item(i).parentElement.parentElement.parentElement.style.display = 'none';
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement