RP+ Remover

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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');
       }
     }
});