recent tests found that the HTML5 game in Samsung note Phone first load will be blurred, after the refresh is not blurred, do not know what the reason, I am not familiar with the bottom of things, and then asked a colleague, found a solution, is now recorded.
<meta name= "viewport" content= "Width=device-width, Target-densitydpi=device-dpi,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no "> <script type= "Text/javascript" > var phonewidth = parseint (window.screen.width); var phonescale = phonewidth/640; var ua = navigator.useragent; if (/android (\d+\.\d+)/.test (UA)) {var version = parsefloat (regexp.$1); if (Version > 2.3) {document.write (' <meta name= "viewport" content= "width=640, Minimum-scale = ' + phones Cale + ', Maximum-scale = ' + Phonescale + ', target-densitydpi=device-dpi ">"); } else {document.write (' <meta name= "viewport" content= "width=640, target-densitydpi=device-dpi" > "); }} else {document.write (' <meta name= "viewport" content= "width=640, target-densitydpi=device-dpi" > "); } </script>
Add the above code to the head on the line.
HTML5 screen blur solution on Samsung Note Mobile