Tested in firefox

After load page paste this as location (CTRL+L):

javascript: function htmlspecialchars(str){ var span =
document.createElement("temp1");span.appendChild(document.createTextNode(str));return
span.innerHTML;};document.body.innerHTML =
htmlspecialchars('<html>'+document.documentElement.innerHTML+'</html>');



2010/6/16 Phill Coxon <[email protected]>

> Hi there.
>
> This may be a pretty obvious question but I haven't figured it out.
>
> I want to save the source code for a web page that includes the final
> HTML output from javascript functions being called.
>
> If I use "View Source" in firefox it simply shows the javascript
> function, not the HTML output created by that function.
>
> Is there an easy way (firefox plugin perhaps?) to capture the entire
> HTML output for the page including what is generated by javascript?
>
> Thanks!
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]<nzphpug%[email protected]>
>



-- 
--
С уважением, Соколов Евгений

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to