GM.openInTab

From GreaseSpot Wiki
Jump to navigationJump to search

Template:Underscore


Description

This API method opens the specified URL in a new tab, but doesn't switch to it.

Examples | Notes

Syntax

GM_openInTab( url )

Value: Function
Returns: Nothing
Compatibility: Greasemonkey 0.5b+
Parameters
Properties
url
  • All properties are optional except url.

top

Properties


url

Value: String
Usage: url = "http://www.greasespot.net/";

top | back

Examples

GM_openInTab("http://www.greasespot.net/");

top

Notes

top