Содержание

createTab

Adds a new tab and makes it an active

Syntax

createTab = function(aURI, aReferer, aWaitLoaded);

Parameters

  • aURI
    • functions: address of loaded page
  • aReferer
    • functions: HTTP referer, substituted when the page is loaded
  • aWaitLoaded
    • functions: a flag indicating whether or not to expect a full loading of the page

Notes

  • If aWaitLoaded = false, the script will wait for the full page loading. Otherwise, the script will start to load the specified page and continue execution.

Examples

  1. createTab();
  2. createTab('yandex.ru');
  3. createTab('yandex.ru','https://google.ru/');
  4. createTab('yandex.ru','https://google.ru/',true);