- function(e, n) {
- function t() {
- var e = i.clientWidth;
- 750 < e / a && (e = 750 * a), i.style.fontSize = e / 375 * 100 + "px"
- }
- var i = e.documentElement,
- a = navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) ? Math.min(n.devicePixelRatio, 3) : 1,
- o = (a = window.top === window.self ? a : 1, a = 1, "orientationchange" in window ? "orientationchange" : "resize"),
- d = (i.dataset.dpr = a, e.createElement("meta"));
- d.name = "viewport", d.content = "initial-scale=1,maximum-scale=1, minimum-scale=1", i.firstElementChild.appendChild(d);
- t(), e.addEventListener && n.addEventListener(o, t, !1)
- }(document, window)
Raw Paste