Solved

Interpret and Executing Javascript in C#

Posted on 2011-02-21
1
358 Views
Last Modified: 2012-08-14
Hey there,

I've been playing around with building web crawlers using the HTTPWebRequest class. I make my requests and parse the returned HTML myself. Now I'm trying to take it a little further and start processing some of the Javascript on the page. I've been reading up on JScript .Net and it sounds like it might be exactly what I need, but I'm having a bit of difficulty finding helpful examples to learn from.

Basically I'm wondering if there's some sort of JScript .Net Expression Evaluator or a suggested alternative? Any examples would be extremely appreciated as well.

Cheers,
-Josh
0
Comment
Question by:JoshVarty
1 Comment
 
LVL 23

Accepted Solution

by:
wdosanjos earned 500 total points
ID: 34948964
Please check the following thread as it might provide some clues:

http://stackoverflow.com/questions/172753/embedding-javascript-engine-into-net-c
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iframe - style elements within an iframe 7 36
Head to not include on scroll 4 23
jQuery on Submit 4 39
binding event to form in window.open 9 35
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question