JordiScript

Script para filtrar los threads molestos del foro

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         JordiScript
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Script para filtrar los threads molestos del foro
// @author       Murder
// @match        https://www.managerzone.com/*
// @icon         https://www.google.com/s2/favicons?domain=tampermonkey.net
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var even = document.getElementsByClassName('even');
    var odd = document.getElementsByClassName('odd');
    for (var i = 0; i < even.length; ++i) {
        var item = even[i];
        if(item.innerHTML.includes('<a href="/?p=profile&amp;uid=5657753">jordi_xala</a>')) {
           item.innerHTML = '';
        }
    }

    for (var j = 0; j < odd.length; ++j) {
        var oddItem = odd[j];
        if(oddItem.innerHTML.includes('<a href="/?p=profile&amp;uid=5657753">jordi_xala</a>')) {
           oddItem.innerHTML = '';
        }
    }
})();