get meta value in javascript code example
Example 1: get meta tag value from url javascript
document.getElementsByTagName("meta").generator.getAttribute('version');
Example 2: js get meta content
//One liner
var meta_content = document.getElementById("meta_hint").getAttribute('content');