Last active
March 11, 2017 20:27
-
-
Save AlejandroC90/64139b6514cb72f17da9e3dfb2f30d61 to your computer and use it in GitHub Desktop.
Script que permite ocultar shouts de texto en Taringa! Mi
This file contains hidden or 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 Ocultar shouts de Texto | |
// @version 0.1 | |
// @description Script para ocultar shouts de texto | |
// @include https://www.taringa.net/* | |
// @exclude https://www.taringa.net/ | |
// @exclude https://www.taringa.net/posts/* | |
// @exclude https://www.taringa.net/post/* | |
// @author AleMikusSan | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
//Para los shouts no vistos | |
var shouts_no_vistos = document.getElementsByClassName('activity-element clearfix shout unread'); | |
for (var i = 0; i < shouts_no_vistos.length; i ++) { | |
shouts_no_vistos[i].style.display = 'none'; | |
} | |
//Para los shouts vistos | |
var shouts_vistos = document.getElementsByClassName('activity-element clearfix shout read'); | |
for (var i = 0; i < shouts_vistos.length; i ++) { | |
shouts_vistos[i].style.display = 'none'; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment