Created
April 14, 2015 23:20
-
-
Save tofuseng/01b5033c98d35b4e574b to your computer and use it in GitHub Desktop.
Delete all your favorites on twitter
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
unfavori = setInterval(function(){ | |
$(".Grid[data-component-term='tweet']").each(function(){ | |
$(".Grid[data-component-term='tweet']").find(".ProfileTweet-actionButtonUndo.u-linkClean.js-actionButton.js-actionFavorite.js-tooltip")[0].click(); | |
$(".Grid[data-component-term='tweet']")[0].remove(); | |
}) | |
},500) | |
kontrol = setInterval(function(){ | |
var tweetsys = $(".Grid[data-component-term='tweet']").length; | |
if(tweetsys < 50 || tweetsys == 50){ | |
window.scrollTo(0,document.body.scrollBottom); | |
setTimeout(function(){ | |
window.scrollTo(0,document.body.scrollHeight); | |
},200); | |
} | |
},3000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment