GM.openInTab: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
Aavindraa (talk | contribs)
Marti (talk | contribs)
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, but doesn't switch to it.
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

Template:Underscore


Description

This API method opens the specified URL in a new background 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