Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Auto form Fill

  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Auto form Fill

    I want to write a program in Javascript that automatically fill in the user name and password in text fields of a live web page. Then it logs in for me.

    The only way I can change text fields right now is to save the source page and modify code and then run the new code. But I want to be able to initiate a script that will fill out appropriate user name while I am at that website.

    Can you guys tell me the basic implementation. I will figure out the details.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,910
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    All Javascript scripts are constrained by the same origin policy: scripts from one Web site do not have access to information such as usernames, passwords, or cookies sent to another site.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •