View.showTabsMenu()

Overview

Opens the tabs menu if there is more than one tab open in a Web session.

Added in version 2.1.31

Android and Windows only

Format

View.showTabsMenu();

Example

Copy
// Set the F8 key to open the tabs context menu.
function Click(event)
{
    View.showTabsMenu(); 
}

// Maps keypress 4 which allows android keyboard to trigger function
Keyboard.mapKeypress(11, KeyState.none, KeyState.none, 0xE042);
WLEvent.on("OnKey<E042>", Click);