A set of macros for writing GreaseMonkey userscripts.
In order to use this library, you just need to define a class implementing userscript.UserScript which should contain the GreaseMonkey metadata as Haxe metadata definitions. Please note that in order to use @run-at, you have to use @run_at, as Haxe doesn't allow dashes in metadata keywords.
All metadata must be either just String or an array of Strings. Other values are not supported at the moment.
There is one additional metadata keyword, which isn't included in GreaseMonkey and affects the loader code produced by this library:
To compile your project using this library, you need to add an additional compilation step, which has to contain the following macro call:
Where the filename is the output file in the first compilation step. After that
postprocessing is done, you will find a file called like the specified filename
but with a suffix of
For further infos about how to use the library, please have a look into the