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
var tweets = document.getElementsByClassName("js-actionDelete"); | |
for (i = 0; i < tweets.length; i++) { | |
tweets[i].click(); | |
document.getElementsByClassName("EdgeButton EdgeButton--danger delete-action")[0].click(); | |
} |
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
var rts = document.getElementsByClassName("tweet-context with-icn"); | |
for (i = 0; i < rts.length; i++) { | |
var children = rts[i].parentElement.parentElement.children[1].childElementCount; | |
for (j = 0; j < children; j++) { | |
var clase = rts[i].parentElement.parentElement.children[1].children[j].className; | |
if (clase == "stream-item-footer") { | |
rts[i].parentElement.parentElement.children[1].children[j].children[1].children[1].children[1].click(); | |
} | |
} | |
} |
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 Fix t.co links on Tweetdeck | |
// @include *tweetdeck.twitter.com* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
setInterval(function() { | |
links = document.getElementsByClassName("url-ext"); | |
for (i = 0; i < links.length; i++) { |
NewerOlder