Please use the comms API instead of this one
Please use the comms API instead of this one
THIS FUNCTION DOES NOT WORK AND IS DEPRECATED
This is only here to prevent errors from occurring when calling any of these functions, this function does nothing
Please use the comms API instead of this one, this one does nothing
This is only here to prevent errors from occurring when calling any of these functions, this function does nothing
This is only here to prevent errors from occurring when calling any of these functions, this function does nothing
The unsafeWindow object provides full access to the pages javascript functions and variables.
This method adds a string of CSS to the document. It creates a new style
element,
adds the given CSS to it, and inserts it into the head
.
The CSS to put on the page
Adds a change listener to the storage and returns the listener ID. 'name' is the name of the observed variable. The 'remote' argument of the callback function shows whether this value was modified from the instance of another tab (true) or within this script instance (false). Therefore this functionality can be used by scripts of different browser tabs to communicate with each other.
The name of the observed variable
A callback in which the first argument is the name of the observed, variable, the second one is the old value, the third one is the new value and the fourth one is a boolean that indicates whether the change was from a remote tab
This method deletes an existing name / value pair from storage.
Property name to delete.
Downloads the file at given URL
A details object containing any data
Downloads the file at given URL
The URL
The name of the file after download
Gets the resource string for given resource name
The name of the resource
Gets the resource URL for given resource name
The name of the resource
This method retrieves a value that was set with GM_setValue. See GM_setValue for details on the storage of these values.
The property name to get
when defaultValue is also undefined, returns undefined
This method retrieves a value that was set with GM_setValue. See GM_setValue for details on the storage of these values.
The property name to get
when defaultValue is also undefined, returns undefined
This method retrieves a value that was set with GM_setValue. See GM_setValue for details on the storage of these values.
The property name to get
when defaultValue is also undefined, returns undefined
Returns any info about the script
This method retrieves an array of storage keys that this script has stored.
All keys of the storage
Logs to the console
Shows a HTML5 Desktop notification and/or highlight the current tab.
The message of the notification
Shows a HTML5 Desktop notification and/or highlight the current tab.
The message of the notification
Open specified URL in a new tab, open_in_background is not available here since that not possible in chrome
The url to open
Removes a change listener by its ID.
The id of the listener
This method allows user script authors to persist simple values across page-loads.
The unique (within this script) name for this value. Should be restricted to valid Javascript identifier characters.
The value to store
Sends an xmlhttpRequest with given parameters
The options
If true, sends no cookies along with the request
Whether the data should be sent in binary mode
A property which will be applied to the response object
The data to send along
Use a fetch instead of an xhr
The headers for the request
The method to use (GET, HEAD or POST)
A callback on that event
A callback on that event
A callback on that event
A callback on that event
A callback on that event
A callback on that event
The MIME type to use
A password for authentication
The type of response, arraybuffer, blob or json
The time to wait in ms
The url to request
A username for authentication
The XHR
Generated using TypeDoc
The GM API that fills in any APIs that GreaseMonkey uses and points them to their CRM counterparts Documentation can be found here http://wiki.greasespot.net/Greasemonkey_Manual:API and here http://tampermonkey.net/documentation.php