Changing the viewport meta tag with JavaScript

Going through the code required, and reasons why you might want to change the viewport meta tag using JavaScript or jQuery. This can be useful for example when trying to dynamically resize the viewport below a certain screen width.

Change viewport meta tag with JavaScript »