Automatically fill fields and press button in Web Browser

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
William Jamieson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 212
Joined: Fri Feb 01, 2013 1:31 am
Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
Contact:

Automatically fill fields and press button in Web Browser

Post by William Jamieson » Sat Jul 06, 2013 9:37 am

Ok so lets get creative here!

I am hoping to save the app user's user name and password for a certain site into livecode so that they dont have to log in every time. Is there a way to enter text into a field and press a submit button by using script?

Is this possible? How would I be able to go about it?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Automatically fill fields and press button in Web Browse

Post by Simon » Wed Jul 10, 2013 7:20 am

Hi William,
I've looked into this before, and from my experience the answer is "NO".

My reasoning for accepting this is that people could set up machine password attacks, no one wants those. Even from LC. :)
I'm guessing that IT would have to give you special username/password entrance.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Automatically fill fields and press button in Web Browse

Post by shaosean » Wed Jul 10, 2013 8:20 am

You could look at just submitting the user's login/password to the server and bypass having to fill in the website login page (just use your app's own login feature).. Take a look at the post command..

William Jamieson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 212
Joined: Fri Feb 01, 2013 1:31 am
Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
Contact:

Re: Automatically fill fields and press button in Web Browse

Post by William Jamieson » Thu Jul 11, 2013 10:48 am

Ok I will look into that. And yes, I realize that this is probably a very touchy subject considering what it can be used for. What about reskinning the log in page so the whole thing did not have to load? I could just do the whole web brower thing but god damn the website is slow on mobile. Any insights?

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Automatically fill fields and press button in Web Browse

Post by shaosean » Thu Jul 11, 2013 11:28 am

Hire a better web developer ;-)

trenatos
Posts: 189
Joined: Wed Jul 03, 2013 6:46 am
Location: Virginia, USA
Contact:

Re: Automatically fill fields and press button in Web Browse

Post by trenatos » Mon Jul 15, 2013 7:23 pm

Do you *need* it to interact with the website?

How about sockets?
How about URL variables?

Any programming language can be used to create hacking tools, so that's completely beside the point.

LiveCode can use POST, so you could POST a "form" created by yourself in LC which corresponds to the form on the website.

But really, the question is why do you need to interact with the website?
Marcus

William Jamieson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 212
Joined: Fri Feb 01, 2013 1:31 am
Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
Contact:

Re: Automatically fill fields and press button in Web Browse

Post by William Jamieson » Thu Jul 18, 2013 8:44 am

Data retrieval about the status of a web service users online account. I think somewhere using the "post" command and talking to my web developer I can figure it out. Thanks guys!

Post Reply

Return to “Internet”