Template:Add viewport tag.js

From Donate
(Redirected from Template:Support Page/js)
Jump to navigation Jump to search
<html><script>
// Add viewport meta tag
(function() {
    var metaTag = document.createElement('meta');
    metaTag.name = "viewport";
    metaTag.content = "width=device-width, initial-scale=1.0";
    document.getElementsByTagName('head')[0].appendChild(metaTag);
})();
</script></html><noinclude>[[Category:Utility templates]]</noinclude>