I am building a GreaseMonkey test script that makes a GM_xmlhttpRequest each time a specific site is visited. GM_xmlhttpRequest should only trigger on the first \"document\" found (the parent window)
I used JQuery.serializeArray() on a form to create an array of objects on a GreaseMonkey application: