locked
executing scripts in html from vb.net RRS feed

  • Question

  • I frequently find websites that I crawl that contain some script to click on a link or show some content. Usually I can go into the html source and parse text or urls. Sometime I get the actual javascript file and it may be easy to interprate and get content from there.
    Mostly the script is hard to figure out and even though I trace the correct function I dont know how to execute it from .net to do what I need it to do.
    For example the following site has this in the html page:
    <frameset>
     <frame src="http://track-back.net/Top.blog?userType=1" name="main">
      <noframes>
    
    the link at src- -> now if parse that link and using httpwebrequest fetch it I get the same page back but if one clicks on the link it will open the html page content. So my question is I guess, how to execute the script from .net? I've read about using the webbrowser control but is there another way or a much clearer explanation on how to do this.
    Just one more example:
    http://featured.typepad.com/ the links are only accessible through script functions.

    Does anyone have any suggestions on how to tackle this?

    Thanks
    • Moved by eryang Wednesday, March 3, 2010 2:18 AM (From:.NET Base Class Library)
    Tuesday, March 2, 2010 10:10 PM

Answers

  • Hi,

    Thanks for your post, but it is tend to get quicker and better support in http://forums.asp.net where asp experts live in.


    Sincerely,
    Eric
    Wednesday, March 3, 2010 2:17 AM
  • This was moved out of the .NET forum.

    You asked this in an ASP.NET forum (as suggested).

    I can also move this question into a specific MSDN forum if you'd like.

    This is regarding your code:

    <frameset>
     <frame src="http://track-back.net/Top.blog?userType=1" name="main">
      <noframes>
    

     

    Thanks!
    Ed Price a.k.a User Ed, Microsoft Experience Program Manager (Blog, Twitter, Wiki)
    Wednesday, December 28, 2011 12:32 AM

All replies

  • Hi,

    Thanks for your post, but it is tend to get quicker and better support in http://forums.asp.net where asp experts live in.


    Sincerely,
    Eric
    Wednesday, March 3, 2010 2:17 AM
  • Sorry; thanks will do.
    Thursday, March 4, 2010 6:01 PM
  • This was moved out of the .NET forum.

    You asked this in an ASP.NET forum (as suggested).

    I can also move this question into a specific MSDN forum if you'd like.

    This is regarding your code:

    <frameset>
     <frame src="http://track-back.net/Top.blog?userType=1" name="main">
      <noframes>
    

     

    Thanks!
    Ed Price a.k.a User Ed, Microsoft Experience Program Manager (Blog, Twitter, Wiki)
    Wednesday, December 28, 2011 12:32 AM