Dragonixx / EUW Posts only

// ==UserScript==
// @name         EUW Posts only
// @version      1.0
// @description  Blocks all EUNE Posts on the League of Legends forum
// @author       Dragonixx
// @include      *.leagueoflegends.*
// @require      https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
// @require      https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant        none
// ==/UserScript==

waitForKeyElements(
    ".discussion-list-item",
    removeIfEUNE
);

function removeIfEUNE (jNode) {
    var region = (jNode.find(".title")
                       .find(".discussion-footer")
                       .find(".inline-profile")
                       .find("span.realm").html());
    if(region == "(EUNE)") {
        jNode.remove();
    }
}