Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

append meta tag to head javascript

<script>  var link = document.createElement('meta');  link.setAttribute('name', 'shareaholic:url');  link.content = document.location;  document.getElementsByTagName('head')[0].appendChild(link);</script>
Source by support.shareaholic.com #
 
PREVIOUS NEXT
Tagged: #append #meta #tag #head #javascript
ADD COMMENT
Topic
Name
8+3 =