B
billmoroz
I spent the last few days trying to figure this out.. but am at a dead
end.
What I want to do is interact with a website that uses javascript.
Specifically it uses document.onkeypress to wait for key presses. My
goal is to first send a "T", five seconds later send a "U", then loop
it 2 times.
I am using Firefox as the browser, and this is on Ubuntu linux. I
looked at doing a javascript for this via greasemonkey.mozdev.org, but
could not find a way for js to send keypresses. Also tried to code
something via glade/gtk on gnome, but came a bit complex too quickly.
I am wondering if this is doable with Perl, and if so how should I go
about doing this? If anyone can steer me in the right direction, I'd
be most appreciative!
end.
What I want to do is interact with a website that uses javascript.
Specifically it uses document.onkeypress to wait for key presses. My
goal is to first send a "T", five seconds later send a "U", then loop
it 2 times.
I am using Firefox as the browser, and this is on Ubuntu linux. I
looked at doing a javascript for this via greasemonkey.mozdev.org, but
could not find a way for js to send keypresses. Also tried to code
something via glade/gtk on gnome, but came a bit complex too quickly.
I am wondering if this is doable with Perl, and if so how should I go
about doing this? If anyone can steer me in the right direction, I'd
be most appreciative!