===== Advanced Greasemonkey ===== * The [[http://wiki.greasespot.net|Greasemonkey Wiki]] has lots more information ==== Greasemonkey API functions ==== Gmonkey comes with some builtin functions to store data inside the Firefox profile for use across multiple sessions, logging, and handling AJAX requests (getting more information and inserting it into the current page, without actually loading a new page -- partial updates) [[http://wiki.greasespot.net/API_reference]] Important functions: * [[http://wiki.greasespot.net/GM_getValue|GM_getValue]] -- get a stored value * [[http://wiki.greasespot.net/GM_setValue|GM_setValue]] -- set a value * [[http://wiki.greasespot.net/GM_listValue|GM_listValues]] -- * [[http://wiki.greasespot.net/GM_log|GM_log]] -- output a message to the Firefox error log (can also use [[Firebug]]) * [[http://wiki.greasespot.net/GM_xmlhttpRequest|GM_xmlhttpRequest]] -- fetch remote data; is *not* limited by the Firefox same-origin policy, allowing you to pull in data from anywhere (!) Next: [[Compiling Greasemonkeys into Extensions]]