How to add Javascript code into a block I have a Drupal 7 site. I'd like to add Social Media follow buttons
(i.e. Follow us on Facebook, Twitter, Linkedin). 
I grabbed some Javascript code from http://www.addthis.com
 which generates these buttons and also links to some analytics services I will be using.
Now I need to figure out how to place the AddThis Javascript code I generated, to a Drupal block. Once it's in a block, it will be easy for me to move around my Drupal site pages.
Why not just use the addthis module rather than adding a block. If you however want to add a block, just go to admin/structure/block click on add block. Paste your script in and select filter type of php code and click save

If you do not have PHP filter in the filter type, enable it under the core module