I am interested in getting the final source of an html document (after all 
scripts were processed).

For example if the html source contained this section:
<script>
 var query = window.location.search.substring(1);
 var ListComp = getQueryVariable("ListedComp", query);
 if(ListComp == null) {
 ListComp='All';
 }
 var strurl = '/about/listed/lc_B.html?ListedComp='+ListComp;
 document.write ("<a href="+strurl+">B</a> &nbsp;");
 </script>

I want this to be replaced by what is actually in the document (just the "<a 
href='www.foo.bar'>B</a> &nbsp;" tag).

It looks like Gecko is just the tool to do this, however i could not find 
any documentation surounding this issue.
If it is not feasible to this with Gecko, do you know of another tool with 
which this can be accomplished.

Thanks,

elewinso. 


_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to