Create a gist now

Instantly share code, notes, and snippets.

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