GM.openInTab: Difference between revisions
From GreaseSpot Wiki
Jump to navigationJump to search
Symmetry update |
mNo edit summary |
||
Line 42: | Line 42: | ||
[[#Description|top]] | [[#Description|top]] | ||
[[Category:API_Reference| | [[Category:API_Reference|G]] |
Revision as of 05:30, 7 December 2007
Description
This API method opens the specified URL in a new tab.
Syntax
GM_openInTab( url )
- 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/");