Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
(function () { | |
'use strict'; | |
var clientKey = "XXXXXXXXXXXXXX"; | |
var clientSecret = "XXXXXXXXXXXX"; | |
var oauthToken; | |
var oauthSecret; | |
var userId; | |
var loginUrl; | |
var applicationName; |
// jQuery based patch for onorientationchange | |
(function () { | |
var w = window.innerWidth, h = window.innerHeight, el = $('body')[0]; | |
if (!('onorientationchange' in el)) { | |
if (el.setAttribute) { | |
el.setAttribute('onorientationchange', 'return;'); | |
if (!typeof element[eventName] == 'function') { | |
// patch support for the onorientationchange event via onresize | |
$(window).resize(function () { |