Detect textbox's on a web page...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamesd0142
    Contributor
    • Sep 2007
    • 471

    #1

    Detect textbox's on a web page...

    Hi what i want to do is basically what google autofill does when visiting a web page...

    I imaging it...
    finds anytext boxe's on the web page when the page loads...and highlights them...

    What i'm looking to do is find the same textbox's on a page, so i can create a little program to auto log me into a webpage when i visit it.

    How can this be done in vb.net?
    Or
    Does anyone know what windows api function if any could be used here?

    Thanks

    James
  • jeffstl
    Recognized Expert Contributor
    • Feb 2008
    • 432

    #2
    In order to place values into text boxes on a web page you will need to know either the cookie's they access and create to do this and manipulate those locally in code.

    Or if the website has the capability built into it you can do auto-form submission by creating an exact path that duplicates submitting that form (as if you actually went to the site, filled it out, and hit the button). When you do this a path is formed cancatonating all the string values from that form into an URL.

    Build out that same URL in your code, but just replace the strings with whatever you like.

    This is in fact how some people have taken advantage of guestbooks, and visitor logs and such by spamming them with macros that run this kind of scheme. In other words, good luck finding top notch website that still allows this kind of access.

    Comment

    • jamesd0142
      Contributor
      • Sep 2007
      • 471

      #3
      Originally posted by jeffstl
      This is in fact how some people have taken advantage of guestbooks, and visitor logs and such by spamming them with macros that run this kind of scheme. In other words, good luck finding top notch website that still allows this kind of access.
      Well believe it or not my intentions are innocent, If this is the case then how does the google toolbar do it...?

      Comment

      • jeffstl
        Recognized Expert Contributor
        • Feb 2008
        • 432

        #4
        Google probably does it with cookie's stored on your local PC. Im not entirely sure actually.

        Im sure your intentions are not bad. I wasn't suggesting they were.

        I was just pointing out that the kind of login automation your referring to is not going to be available on most sites, especially financial data or sites that use
        captcha.

        Comment

        Working...