Remove posts from g+ containing specific words
// ==UserScript==
// @name gplus
// @namespace http://dafi.plus
// @include plus.google.com
// @version 1
// ==/UserScript==
[].forEach.call(document.querySelectorAll('div.jn.gu'), function(e) {
var text = e.firstChild
&& e.firstChild.textContent.toLowerCase();
if (text && (text.indexOf('terremot') != -1)) {
for (; e; e = e.parentNode) {
if (e.id && (e.id.indexOf('update') != -1)) {
e.style.display = "none";
}
}
}
});