GM.openInTab: Difference between revisions
From GreaseSpot Wiki
Jump to navigationJump to search
m →Description: Sync with MDC terminology for last changeset. |
|||
Line 4: | Line 4: | ||
== Description == | == Description == | ||
This [[API_reference|API]] method opens the specified URL in a new tab | This [[API_reference|API]] method opens the specified URL in a new background tab. | ||
[[#Examples|Examples]] | [[#Notes|Notes]] | [[#Examples|Examples]] | [[#Notes|Notes]] |
Revision as of 06:43, 30 December 2008
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/");