Reading Javascript - Is it possible?
Help anyone,
I have been trying to figure out how to collect hyperlink destinations through java and that has been pretty succesful so far. But I can only get hyper links from HTML, and not JavaScript.
Is it even possible to read JavaScript from Java Programing or have I hit a dead end. If you could can you please help me out?
Thanks
javascript generates dynamic output like any other language, so unless you can execute it (which requires a browser environment), you are not going to get any valid information from it.
Still I believe the google spider can do it, so there must be some way somewhere that probably costs a lot of money to use.
Javascript is run on the client side so it is possible to parse the HTML code for javascript within a Java program.
I am not aware if there is some kind of open source solution but I know it can be done and most certainly can be done for the right price if you are looking to buy software.