Hello,

I am using Cobra (lobobroswer based parser) for HTML parsing and rhino
for javascript parsing of web pages. However, the google ads script is
not executing. I want to retrieve the source code of the page
including the script generated ads. Please help.

Also, is there a way of executing the following script explicitly and
returning the result as a string:

<script type="text/javascript">
google_ad_client = "pub-";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "0000FF";
google_color_link = "FFFFFF";
google_color_text = "000000";
google_color_url = "008000";
</script><script type="text/javascript" src="http://
pagead2.googlesyndication.com/pagead/show_ads.js"></script>

Thanks!
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to