Re: Execute script within a received page. - WeOnlyDo Discussion board

Re: Execute script within a received page. (General questions)

by dirk, Wednesday, October 31, 2012, 18:02 (4406 days ago) @ woddrazen

We already tried that...but that isn't working.
It seems that a common way to see if the browser is JavaScript enabled or not, is to have a very small bit of JavaScript within the called page and if that executes correctly redirect to another page (with again JavaScript on it).


dirk

Dirk,


Unofrtunately you cannot execute JavaScript inside wodHttpDLX.

However using UserAgent header you can introduce yourself to server as some other browser. Maybe that will help.

You can change UserAgent value inside wodHttpDLX using UserAgent Property.

More help for UserAgent Property you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLX-HttpRequest-UserAgent.html
[code]Http1.Request.Headers.Add UserAgent , Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 [/code]
Drazen


Complete thread: