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?

Settop
  • 71
  • 6
  • 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. – Obsidian Age Mar 02 '17 at 22:53
  • Is there any way to support javascript? – Settop Mar 02 '17 at 22:55
  • You need a .net compatible headless browser. Something like https://bitbucket.org/RusKnyaz/optimus/wiki/Home – qux Mar 02 '17 at 23:03
  • Take a look as this answer: [http://stackoverflow.com/a/5372524/2592875](http://stackoverflow.com/a/5372524/2592875) – TnTinMn Mar 02 '17 at 23:06

0 Answers0