NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name tweeterid.com ID fixer // @namespace prepends URL to ID number // @include https://tweeterid.com* // @include http://gettwitterid.com* // @version 1 // @grant none // @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js // ==/UserScript== (function($) { var refreshId = setInterval( function() { $('#output P').each(function() { var text = $(this).text(); var n = text.indexOf('http'); var url = text.match('http(s?):\/\/[^<\s]*'); if(url){ text = text.replace(url[0],'') } text = text.toLowerCase() .replace('=> ', 'https://twitter.com/?profile_id=') if(url){ text = text.slice(0,n) + url[0] + text.slice(n); } $(this).text(text); }); }, 3000); //rescans every 2500ms, used for 'load more' }(jQuery)); $('tr:nth-of-type(1) > td:nth-of-type(2) > p').prepend("https://twitter.com/?profile_id=");