js add meta tag to head for specific url code example
Example: javascript change meta tag
document.querySelector('meta[name="description"]').setAttribute("content", _desc);
document.querySelector('meta[name="description"]').setAttribute("content", _desc);