RP+ Remover

Remove RP+ article from rp-online.de ### Takes some time to remove on mainpage

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         RP+ Remover
// @namespace    http://tampermonkey.net/
// @require      https://code.jquery.com/jquery-1.12.4.min.js
// @version      0.1.1
// @description  Remove RP+ article from rp-online.de ### Takes some time to remove on mainpage
// @include      https://rp-online.de/*
// @grant        none
// ==/UserScript==

  window.addEventListener("load", function(event) {
    console.log("DOM fully loaded and parsed");

var allImages = [];
var images = [];

var classMatcher = /(?:^|\s)park-icon-paid(?:\s|$)/;
var els = document.getElementsByTagName('*');
for (var i=els.length;i--;){
  if (classMatcher.test(els[i].className)){
       els[i].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.remove('header');
       }
     }
});