Skip to content

Instantly share code, notes, and snippets.

@iambibhas
Created January 8, 2015 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iambibhas/1485d4d635e0f8bd67d6 to your computer and use it in GitHub Desktop.
Save iambibhas/1485d4d635e0f8bd67d6 to your computer and use it in GitHub Desktop.
Tweetdeck Web t.co bypass
// ==UserScript==
// @name Tweetdeck T.co bypass
// @namespace http://userscripts.org/users/192333
// @version 1
// @include http*://*twitter.com/*
// @grant GM_deleteValue
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_info
// ==/UserScript==
si = window.setInterval(clearanchors, 2000);
function clearanchors(){
anchors = document.getElementsByTagName('a')
for(i=0;i<anchors.length;i++){
if(anchors[i].getAttribute('data-full-url') != null){
anchors[i].setAttribute('href', anchors[i].getAttribute('data-full-url'));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment