GM.openInTab: Difference between revisions
From GreaseSpot Wiki
Jump to navigationJump to search
m Restoring Notes header... btw it always passed referer in everything but good to know your Vista is corrected now :)... sf |
m display title fix |
||
Line 1: | Line 1: | ||
{{ | {{DISPLAYTITLE:GM_openInTab}} | ||
== Description == | == Description == | ||
Line 40: | Line 38: | ||
[[#top|top]] | [[#top|top]] | ||
[[Category:API_Reference|O]] | [[Category:API_Reference|O]] |
Revision as of 13:54, 30 October 2009
Description
This API method opens the specified URL in a new background tab. Foreground loading may be globally overridden by setting the Mozilla preference browser.tabs.loadInBackground
to false
in about:config.
Syntax
GM_openInTab( url )
- Value: Function
- Returns: undefined
- Compatibility: Greasemonkey 0.5b+
Parameters Properties url
- All properties are optional except url.
Properties
url
- Value: String
- Usage:
url = "http://www.greasespot.net/";