Opened 11 years ago
Closed 11 years ago
#10986 closed feature (invalid)
Full page source
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | misc | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
There is currently no easy way of displaying full website source (rendered). Of course, one can use $("html").html(), but in this case DOCTYPE and <html> tag are omitted.
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | unfiled → misc |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
This is a bug tracker, not a forum. Try asking in the jQuery forum or on StackOverflow.
You could do something like this:
console.log( '<!doctype html>' + document.documentElement.outerHTML );
Note: See
TracTickets for help on using
tickets.
To display full page source, currently one has to do something like this: