Skip to content

Instantly share code, notes, and snippets.

@altryne
Created October 15, 2012 11:40
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 altryne/3892054 to your computer and use it in GitHub Desktop.
Save altryne/3892054 to your computer and use it in GitHub Desktop.
Add a tweet link to FOWA2012 london speaker page. Paste this line on "http://futureofwebapps.com/london-2012/schedule" and you will receive buttons to tweet every talk with the speaker twitter handle inside. ATTENTION : in chrome you have to manually type
javascript:(function(){$('.session').not('.break').each(function(ev){h=$(this).find('.speaker-photo%20a').attr('href');(h)%3Fh=h.substring(19):%22%22;s=$(this).find('.summary').text();s=s.replace(%22Topic%22,%22%22);tmp=$('%3Ca%20href=%22http://twitter.com/intent/tweet%3Ftext=Listening to%20%40'+%20h%20+'%20speaking%20at%20%2523fowa%20about%20'%20+%20s%20+'%26via=fowa,%40altryne%22%20target=%22_blank%22%20%3E%3Cimg%20src=%22//j.mp/R0Dnbf%22%3ETweet%20this%20talk!%3C/a%3E');$(this).find('.topic').before(tmp);})})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment