d067ZBIl

Untitled

Jul 29th, 2021
1,020
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <script>
  2.       var share_url = window.location.href.replace(/\/\d[?\/]+/, '/1?');
  3.       var social_share_block = document.getElementById('social-share-block');
  4.       if(share_url && social_share_block){
  5.           social_share_block.innerHTML = "\
  6.            <a target='_blank' href='https://twitter.com/intent/tweet?url=" + share_url + "' data-show-count='false'><img alt='' data-ratio-lock='true' data-unit='px' src='https://cdn.jsdelivr.net/gh/4site-interactive-studios/Ocean-Conservancy-Engaging-Networks-Template@master/themes/parent-theme/images/twitter.svg' /></a>\
  7.            <a target='_blank' href='https://www.facebook.com/sharer/sharer.php?u=" + share_url + "'><img alt='' data-ratio-lock='true' data-unit='px' src='https://cdn.jsdelivr.net/gh/4site-interactive-studios/Ocean-Conservancy-Engaging-Networks-Template@master/themes/parent-theme/images/facebook.svg' /></a>\
  8.            <a target='_blank' href='mailto:?&subject=Protect the Endangered Species Act&body=" + share_url + "'><img alt='' data-ratio-lock='true' data-unit='px' src='https://cdn.jsdelivr.net/gh/4site-interactive-studios/Ocean-Conservancy-Engaging-Networks-Template@master/themes/parent-theme/images/email.svg' /></a>\
  9.          ";
  10.       };
  11.     </script>
RAW Paste Data