GM.openInTab: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
mNo edit summary
Line 12: Line 12:
'''GM_openInTab(''' ''url'' ''')'''
'''GM_openInTab(''' ''url'' ''')'''


:Value: Function
:Returns: Nothing
:Returns: Nothing
:Compatibility: [[Version_history#0.5_beta|Greasemonkey 0.5b+]]
:Compatibility: [[Version_history#0.5_beta|Greasemonkey 0.5b+]]

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