Delete annoying badges!

tThis script is basic asf, only deletes badges (no willing to update, you can easily update it by inspect element duh)

目前为 2024-07-26 提交的版本。查看 最新版本

// ==UserScript==
// @name         Delete annoying badges!
// @namespace    http://tampermonkey.net/
// @version      2024-07-26
// @description  tThis script is basic asf, only deletes badges (no willing to update, you can easily update it by inspect element duh)
// @author       Abeja
// @match        https://www.pathofexile.com/forum/view-thread/*
// @match        https://www.pathofexile.com/forum/post-reply/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=pathofexile.com
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    window.addEventListener('load', function() {
    Element.prototype.remove = function() {
    this.parentElement.removeChild(this);
}
NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {
    for(var i = this.length - 1; i >= 0; i--) {
        if(this[i] && this[i].parentElement) {
            this[i].parentElement.removeChild(this[i]);
        }
    }
}
document.getElementsByClassName("badges ").remove();
}, false);
    'use strict';

    // Bees all over the world, sorry GGG but badges are annoying asf
})();