javascript change meta tag
snippet in javascript

javascript change meta tag

user887

document.querySelector('meta[name="description"]').setAttribute("content", _desc);