Created
April 20, 2012 14:27
-
-
Save casidiablo/2429059 to your computer and use it in GitHub Desktop.
Hides interesting notes in Google+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hides Interesting (Spanish Only) | |
// @include https://plus.google.com/* | |
// @version 1.0 | |
// ==/UserScript== | |
(function () { | |
var links = document.getElementsByTagName("a"); | |
for (var i = 0; i < links.length; i++) { | |
var link = links[i]; | |
if (/Interesante en Google+/i.test (link.innerHTML) ){ | |
var interestingDiv = link.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; | |
interestingDiv.style.display = "none"; | |
} | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment