Skip to main content

The window.open() method with window features"

When you open a new window using the window.open() Web API, the Here™ Core environment restricts the values that can be passed in the windowFeatures parameter. Specifically, the Here™ Core implementation of windowFeatures supports values for window location, size, and resizeability.

Starting in version 24, the following values for windowFeatures are supported:

  • width
  • innerWidth
  • height
  • innerHeight
  • left
  • screenX
  • top
  • screenY
  • resizable

📘 Note

Some earlier versions of Here™ Core supported the following values: centerscreen, chrome, alwaysRaised and minimizable. These values are no longer supported and code that uses them does not work in version 24 and later.

Windows opened via window.open() are also subject to Content creation rules with the Platform API. Therefore, they might be modified or blocked by a rule. Content creation rules take precedence over features passed to window.open().