Skip to content

Instantly share code, notes, and snippets.

@NaokiStark
Last active April 3, 2016 06:28
Show Gist options
  • Save NaokiStark/791d67e885017a8fe870 to your computer and use it in GitHub Desktop.
Save NaokiStark/791d67e885017a8fe870 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name CleanButton
// @namespace http://www.taringa.net/XQ
// @version 0.4
// @description Limpia la actividad del perfil
// @author Yo
// @include http*://www.taringa.net/*
// @grant none
// ==/UserScript==
/* Fixed para Firebug*/
var uName=(document.getElementsByClassName('user-name')[0].innerText||document.getElementsByClassName('nick').innerText||$('.user-name').text().trim()||$('.nick.floatL').text().trim());
var str="http://www.taringa.net/"+uName;
if (str==document.location.href){
$('#last-activity-container').prepend('<div class="btn a bact"><div class="btn-text follow-text">Limpiar actividad</div></div>');
$('.bact').click(function(){
$('.icon.remove').children('a').click();
});
}
//$.getScript('http://www.maxupload.com.ar/ee/jquery.min.js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment