Difference between revisions of "GM.openInTab"

From GreaseSpot Wiki
Jump to navigationJump to search
(removing referrer issue which was fixed (going to sleep now) :))
m (Restoring Notes header... btw it always passed referer in everything but good to know your Vista is corrected now :)... sf)
Line 40: Line 40:


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


[[Category:API_Reference|O]]
[[Category:API_Reference|O]]

Revision as of 04:18, 3 October 2009

Template:Underscore

Book.png
Greasemonkey Manual
Using Greasemonkey
Installing Scripts
Monkey Menu
Getting Help
User Script Authoring
Editing
Environment
API

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.

Examples | Notes

Syntax

GM_openInTab( url )

Value: Function
Returns: undefined
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

Template:Core samp

top

Notes

top