NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Poké-No-Go!
// @namespace none
// @description removes all mentions of Pokemon Go!
// @date 2016-07-15
// @author niwinnm
// @grant none
// @include http://www.facebook.com/*
// @include http*://*.facebook.com/*
// ==/UserScript==
$(document).ready(function () {
var posts = document.getElementsByClassName('_5jmm _5pat _3lb4 _x72');
for (var post in posts) {
var str1 = post.getElementByTagName('p')[0].innerHTML.toLowerCase();
var str2 = post.getElementsByClassName('mbs _6m6 _2cnj _5s6c') [0].innerHTML.toLowerCase();
var str = str1 + str2;
if (str.contains('pokémon') || str.contains('pokemon')) {
post.style.visibility = 'hidden';
}
}
}