• Opens URL in a new tab.

    Parameters

    • url: string

      The URL to open in a new tab. URL relative to current page is also allowed. Note: Firefox does not support data URLs.

    • Optional options: VMScriptGMTabOptions

    Returns VMScriptGMTabControl

  • Parameters

    • url: string

      The URL to open in a new tab. URL relative to current page is also allowed. Note: Firefox does not support data URLs.

    • Optional openInBackground: boolean

      Open the tab in background. Note, this is a reverse of the first usage method so for example true is the same as { active: false }.

    Returns VMScriptGMTabControl