GreaseVervet API Notes

Include / Exclude Rules

For increased security, GreaseVervet uses the @match syntax used by Chrome. For compatibility, as well as @match and @match_exclude it will accept @include metadata lines, but it interprets them using the @match syntax. If neither type of file specification is found in the userscript header, the compiler applies the script to all allowed URIs. Regexp expressions are not supported.

There are some other minor differences: GreaseVervet includes both data: and file: in the list of greaseable URI schemes. As with Greasemonkey, file: support is user-configurable via the greasemonkey.fileIsGreaseable preference.

To do:

Working Functions

GM_log

Works.

GM_openInTab

Works, and honours the browser.tabs.loadInBackground preference. However, does not return a window object for the new tab.

Bug: doesn't send a Referrer header when loading the new tab's content.

Unsupported Functions

GM_registerMenuCommand
There's nowhere obvious in the Fennec user interface to add the command to.