Dwelling response.json()) .then(output => { doc.title = output.title; if (output.metaDescription !== null) { var meta = doc.createElement(‘meta’); meta.identify = ‘description’; meta.setAttribute(‘content material’, output.metaDescription); doc.getElementsByTagName(‘head’)[0].appendChild(meta); } }); ]]>
Source
Average Rating