Posts that engtech is monitoring
|
Sep 14, 2007
|
Topic: gm_xmlhttprequest to submit form I got rid of the denied access errors by using contentDocument.open() to give me complete access to the iframe. I can't afford to wait for entire page load with my script. |
|
Sep 9, 2007
|
Topic: gm_xmlhttprequest to submit form This was I problem for me to when I wrote this script http://userscripts.org/scripts/show/10682. I wish there was some type of class that would take html and parse it using regular expressions and return it like getelementbyid and getelementsbytagname. The cool thing is that when you load an xml document you can use the DOMParser object, which I did in this script http://userscripts.org/scripts/show/10653. Anyway I use about the same code in the first script I posted, only when I tried to set the body.innerHTML I kept getting denied access to the iframe. So instead I use code more like this (not in a neat class though, sorry):
|
