Greasy Fork is available in English.

t.co bypass

fairly self explanatory, but just in case, this package will replace t.co urls on twitter and tweetdeck by using other attributes in the anchor tag.

  1. // ==UserScript==
  2. // @name t.co bypass
  3. // @namespace http://darcsys.com
  4. // @include https://twitter.com/*
  5. // @include https://tweetdeck.com/*
  6. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
  7. // @version 1
  8. // @grant none
  9. // @description fairly self explanatory, but just in case, this package will replace t.co urls on twitter and tweetdeck by using other attributes in the anchor tag.
  10. // ==/UserScript==
  11.  
  12. $(document).bind('DOMSubtreeModified', function(){
  13. $("a[data-touched!='true']").each(function(){
  14. $(this).attr("data-touched", "true");
  15. if($(this).attr("href").match("//t.co/")){
  16. $(this).attr("href", $(this).attr("data-expanded-url") != "" ? $(this).attr("data-expanded-url") : $(this).attr("title"));
  17. }
  18. });
  19. });
  20.