Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name spigot no depreciated
- // @version 0.1
- // @description remove depreciated methods
- // @author whoever
- // @match *://hub.spigotmc.org/javadocs/spigot/org/bukkit/*
- // @grant none
- // ==/UserScript==
- const removethese = document.getElementsByClassName('deprecatedLabel');
- for(let i = 0; i < removethese.length; i++){
- removethese.item(i).parentElement.parentElement.parentElement.style.display = 'none';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement