RE: [httpunit-javascript] javascript enabled browser

Graeme J Sweeney <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
On Thu, 6 Apr 2006, Alex wrote:

> When website finds javascript enabled browser  it displays certain form
> etc...
> If it sees browser does not allow scripting  it gives 'error page' which
> says u need to have scripting enabled....
>
> (I checked in IE...when I have scripting enabled it works when I disable it
> I also get that 'error' page )

The questions still stands:

What code is the site using to detect Javascript?

Is it using an onLoad method to forward you to another landing page?
Is it using script/noscript tags?

Have you actually viewed the source with javascript turned off?

If the site is using lots of document.write to insert the content then you 
might be better off with htmlunit.

-- 
Graeme -
Outlook Express user? - http://home.in.tum.de/~jain/software/oe-quotefix/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.