1

Whenever I use downloadstring like this:

   Dim client As Net.WebClient = New Net.WebClient()

   Dim reply As String = client.DownloadString("http://abstract.ezyro.com/version.php")

It always says "This site requires javascript to work", even though there is nothing javascript related. Version.php is as follows:

    <?php
    echo "4.2.0-2017/03/02";
    ?>

Any help?

4
  • There is probably something on your site itself that checks whether JavaScript is running in the user's browser, and displays a different 'error' page if it's not. As VB.NET doesn't contain JavaScript, the site will think you're not using it. Commented Mar 2, 2017 at 22:53
  • Is there any way to support javascript? Commented Mar 2, 2017 at 22:55
  • You need a .net compatible headless browser. Something like bitbucket.org/RusKnyaz/optimus/wiki/Home Commented Mar 2, 2017 at 23:03
  • Take a look as this answer: http://stackoverflow.com/a/5372524/2592875 Commented Mar 2, 2017 at 23:06

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.