1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
| <meta name="viewport" content="target-densitydpi=device-dpi,width=640" id="viewport"> <script type="text/javascript"> /\* Fix viewport\*/ (function(f,u){ var o=navigator.userAgent, r=640, e=f.innerWidthr, g=f.outerHeighte, q=f.screen.widthe, d=f.screen.availWidthe, n=f.innerHeightr, p=f.outerHeightn, a=f.screen.heightn, k=f.screen.availHeightn, l=Math.min(e,g,q,d,n,p,a,k), h=l/r, b=f.devicePixelRatio; h=Math.min(h,b); if(h<1){ var t=",initial-scale="+h+",maximum-scale="+h, c=u.getElementsByTagName("meta"), j; if(/iphoneipod/ig.test(o)){ j=",user-scalable=no" } if(/android/ig.test(o)){ j="" } t+=j""; if(/zenlife-android-webview/.test(o)&&!/viewport/.test(o)){ document.querySelector('html').style.zoom = h } if(top.location!=location){ document.querySelector('html').style.zoom = h }; for(var s=0,m;s<c.length;s++){ m=c\[s\]; if(m.name=="viewport"){ m.content+=t} } } } ).call(this,window,document); </script>
|