Many of the GreaseMonkey users are not familiar with the very useful set of APIs it has to offer. These functions can help you, especially if you are using it for large projects. I will show here a few of the more useful APIs to my taste, you can read the entire API reference in the product wiki. Logging A very useful function is GM_log(). It is used to print log messages into the JavaScript conso