Hello all,
My son plays the Kim Possible "trading card challenge," which though
it uses ASP and is a relatively simple form (only three fields),
POST'ing to it with DQSD doesn't work because it validates a session
variable / cookie on the action page before it allows the transaction
to complete successfully (and they're VERY picky about the session
variable, sometimes clicking back and for between pages even fails...
if this weren't a labor of love for my son I'd have scrapped the
project already).
IOW, my son can't simply type "KP" to login to KimPossible.com on his
computer because of issues with session management on the server. Boy,
are you lost yet?
Has anyone dealt with this before?
Is there a framework in place to open a window via a method like
submitForm() (I noticed a couple openSearch... functions, but they
don't do what I need) that returns an object handle that could be used
to play with the DOM?
The problem with using script directly, as below, is that the security
context has switched between local and a webpage, so running the code
fails if you have IE set to prevent scripting across domains (which I
don't think is something I necessarily want to enable outside of
DQSD). :(
I would also prefer not to reinvent the wheel, assuming it exists.
'// ========================================================
var w = window.open("http://kimpossible.disney.go.com/");
w.document.forms[0].username.value=document.kpf.username.value;
w.document.forms[0].password.value=document.kpf.password.value;
w.document.forms[0].remember.value=document.kpf.remember.value;
w.document.forms[0].submit();
'// ========================================================
Does the DQSD Launcher expose a window.open-method type object that is
scriptable?
For now, I've created a shortcut for him that does the following:
javascript:document.forms[0].username.value='username';document.forms[
0].password.value='password';document.forms[0].remember.value=1;docume
nt.forms[0].submit();
This works. But I hate 'extra steps.' I'm looking into XSS
vulnerabilities in IE to make it work, but I don't want to rely on
these. ;)
Regards,
Shawn K. Hall
http://ReliableAnswers.com/
'// ========================================================
If you pull the wings off a fly, does it become a walk?
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel