Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
40
rated 0 times [  46] [ 6]  / answers: 1 / hits: 24774  / 16 Years ago, tue, march 31, 2009, 12:00:00

I want to add a button to one of our web sites that will allow the user to file a bug with our bug tracking system.



One of the feature requests is that a screen cap of the page in question be sent along.



Without installing something on the end users machine, how can I do this? Does javascript have some sort of screen cap api?


More From » screen

 Answers
4

You may grab the innerHTML of the page and then process it on the server:



document.getElementsByTagName('html')[0].innerHTML;
// this would also be interactive (i.e. if you've
// modified the DOM, that would be included)

[#99774] Tuesday, March 24, 2009, 16 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aidanl

Total Points: 156
Total Questions: 102
Total Answers: 112

Location: Saint Lucia
Member since Wed, Feb 8, 2023
1 Year ago
aidanl questions
Thu, Feb 10, 22, 00:00, 2 Years ago
Thu, Dec 17, 20, 00:00, 4 Years ago
Fri, Jul 24, 20, 00:00, 4 Years ago
Thu, Jul 16, 20, 00:00, 4 Years ago
Mon, Apr 6, 20, 00:00, 4 Years ago
;