UrlConnection question(s)
Hello,
I have two questions about urlconnection.
First, when trying to connect to a site that also has a mobile version, the site keeps responding with the mobile version. How can I make it take me to the normal site? I asked this question before, and someone told me to try setting the user agent. I set the user agent and it did not make a difference.
Second, when trying to connect to a page that runs javascript, it keeps redirecting me to the <noscript> version. Is there a way to enable the urlconnection to allow javascript/not block javascript?
Thanks!