GM.openInTab
From GreaseSpot Wiki
Revision as of 06:43, 30 December 2008 by Marti (talk | contribs) (→Description: Sync with MDC terminology for last changeset.)
Description
This API method opens the specified URL in a new background tab.
Syntax
GM_openInTab( url )
- Value: Function
- Returns: Nothing
- Compatibility: Greasemonkey 0.5b+
Parameters Properties url
- All properties are optional except url.
Properties
url
- Value: String
- Usage:
url = "http://www.greasespot.net/";
Examples
GM_openInTab("http://www.greasespot.net/");