Is that possible?
P.HTML supports JavaScript.
Is that possible?
P.HTML supports JavaScript.
Erm, what exactly do you want to know?
Well. I try to read out the source code of one page but all I get is
<html>
<head>
<title>MyMiniCity</title>
</head>
<body>
<noscript>
This site needs JavaScript.
</noscript>
<script type="text/javascript">
//<![CDATA[
var d = new Date();
d.setTime(d.getTime()+26481);
var exp = d.toGMTString();
if( document.referrer != null )
document.cookie = "X-MV-Referer="+encodeURIComponent(document.referrer);
document.cookie = "X-Mc-Ref=1;expires="+exp+";path=/"
document.location.href = document.location.href;
//]]>
</script>
<p><em>Please wait a few moments...</em></p>
</body>
</html>
So is there any way to turn on javascript for http.Get?
No.
http.Get doesn’t render anything therefore javascript will not execute.
no but you can render things with derma panels , why not use that?
Can it return values? I mean HTML:RunJavascript( " return “hello?” ) Will return nil or it returns “hello?” ?
Try HTML:GetTable() that might give you the current source being rendered.