Skip to content

Instantly share code, notes, and snippets.

@AlejandroC90
Last active March 11, 2017 20:27
Show Gist options
  • Save AlejandroC90/64139b6514cb72f17da9e3dfb2f30d61 to your computer and use it in GitHub Desktop.
Save AlejandroC90/64139b6514cb72f17da9e3dfb2f30d61 to your computer and use it in GitHub Desktop.
Script que permite ocultar shouts de texto en Taringa! Mi
// ==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