Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Remove any viewport meta elements

View bookmarklet
1
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)}}})();
View bookmarklet
1 2 3 4 5 6 7 8 9 10 11 12
(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
Something went wrong with that request. Please try again.