     url = null
   # return if webview.isLoading()
   [].forEach.call $$('poi-app div.poi-app-tabpane'), (e) ->
-    e.style.height = "545px"
-    e.style.overflowX = "scroll"
+    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"

  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

    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"
if !window._delay
  adjustSize()
else
