     document.documentElement.style.overflow = 'hidden';
   """
   $('kan-game webview')?.style?.height = $('kan-game webview /deep/ object[is=browserplugin]')?.style?.height = "#{Math.floor(480 * factor)}px"
-  $('kan-game').style.marginTop = "#{Math.max(0,(window.innerHeight - 480 * factor - 25)) / 2.0}px"
-  [].forEach.call $$('poi-app div.poi-app-tabpane'), (e) ->
-    e.style.height = "#{Math.max(545, 480 * factor - 85)}px"
-    e.style.overflowX = "scroll"
-    e.style.overflowY = "scroll"
-  $('poi-app').style.marginTop = "#{Math.max(0,Math.min((window.innerHeight - 480 * factor - 25),(window.innerHeight - 565))) / 2.0}px"
-# interval = setInterval adjustSize, 500
+  $('kan-game').style.marginTop = "#{Math.max(0, (window.innerHeight - 480 * factor - 25)) / 2.0}px"
 if !window._delay
   adjustSize()
 else

  unload: ->
    [].forEach.call $$('poi-app div.poi-app-tabpane'), (e) ->
      e.style.height = ""
      e.style.overflowX = "hidden"
      e.style.overflowY = "hidden"
    window.removeEventListener 'resize', handleResize
    window.removeEventListener 'scale.change', handleChangeScale

    url = null
  # return if webview.isLoading()
  [].forEach.call $$('poi-app div.poi-app-tabpane'), (e) ->
    e.style.height = "#{window.innerHeight - 40}px"
    e.style.overflowY = "scroll"
  if url != 'http://www.dmm.com/netgame/social/-/gadgets/=/app_id=854854/'
    $('kan-game webview')?.style?.height = $('kan-game webview /deep/ object[is=browserplugin]')?.style?.height = "#{window.innerHeight - 27}px"
