GM.openInTab: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
Marti (talk | contribs)
Marti (talk | contribs)
mNo edit summary
Line 33: Line 33:
[[#Description|top]] | [[#Syntax|back]]''
[[#Description|top]] | [[#Syntax|back]]''


= Examples =
== Examples ==
<code><pre>
<code><pre>
GM_openInTab("http://www.greasespot.net/");
GM_openInTab("http://www.greasespot.net/");
Line 40: Line 40:
[[#Description|top]]
[[#Description|top]]


= Notes =
== Notes ==
[[#Description|top]]
[[#Description|top]]


[[Category:API_Reference|G]]
[[Category:API_Reference|G]]

Revision as of 05:48, 7 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