Created
December 18, 2017 17:07
-
-
Save Eskuero/c3f40fddbc01539331569dcd85bb2c41 to your computer and use it in GitHub Desktop.
Script for Greasemonkey that will run every 3 seconds to replace every t.co url with the true location
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
// ==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++) { | |
links[i].href = links[i].getAttribute("data-full-url"); | |
} | |
}, 3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment