GM.openInTab: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
mNo edit summary
m (→‎Syntax: Monkey colored tables)
Line 16: Line 16:
:Compatibility: [[Version_history#0.5_beta|Greasemonkey 0.5b+]]
:Compatibility: [[Version_history#0.5_beta|Greasemonkey 0.5b+]]


:{| border="1" cellpadding="5"
:{| cellpadding="5" style="border-style:solid; background:#FFFFE0;"
|+ Parameters
|+ Parameters
!|'''Properties'''
!style="background:#CC9900;"|'''Properties'''
|-
|-
| <code>[[#url |url]]</code>
| <code><span style="background:#FFFFE0;">[[#url |url]]</span></code>
|}
|}
:* All properties are optional except [[#url|url]].
:* All properties are optional except [[#url|url]].

Revision as of 22:21, 11 December 2007

Template:Underscore


Description

This API method opens the specified URL in a new tab.

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