Guest User

Untitled

a guest
Mar 27th, 2012
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. window.___gcfg = {lang: 'pt-BR'};
  3. (function(doc, script) {
  4.     var js,
  5.         fjs = doc.getElementsByTagName(script)[0],
  6.         frag = doc.createDocumentFragment(),
  7.         add = function(url, id) {
  8.             if (doc.getElementById(id)) {return;}
  9.             js = doc.createElement(script);
  10.             js.src = url;
  11.             id && (js.id = id);
  12.             frag.appendChild( js );
  13.         };
  14.  
  15.     // Google Analytics
  16.     //add(('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js', 'ga');
  17.     // Google+ button
  18.     add('https://apis.google.com/js/plusone.js');
  19.     // Facebook SDK
  20.     add('//connect.facebook.net/en_US/all.js#xfbml=1', 'facebook-jssdk');
  21.     // Twitter SDK
  22.     add('//platform.twitter.com/widgets.js');
  23.  
  24.     fjs.parentNode.insertBefore(frag, fjs);
  25. }(document, 'script'));
  26. </script>
  27.  
  28.  
  29.  
  30. depois só chama o <div class="fb-like" data-href="http://artbrasilis.com.br" data-send="false" data-layout="button_count" data-width="150" data-show-faces="false"></div>
  31.  
  32. no resto das páginas
RAW Paste Data