Create a gist now

Instantly share code, notes, and snippets.

Remove any viewport meta elements
javascript:(function(){var b=document.getElementsByTagName('meta'),c=b.length,a;while(c--){a=b[c];if(a.name.toLowerCase()=='viewport'){a.parentNode.removeChild(a)}}})();
(function() {
var metaElements = document.getElementsByTagName('meta'),
i = metaElements.length,
el;
while (i--) {
el = metaElements[i];
if (el.name.toLowerCase() == 'viewport') {
el.parentNode.removeChild(el);
}
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment