English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How woud you record what is typed on your website. Like, If I made a website, and wanted to record whatever anybody ever typed in it, what code would I need to use?

2007-08-08 18:01:37 · 6 answers · asked by dustin m 1 in Computers & Internet Programming & Design

6 answers

You can use a key listener like this:







Try it - it will display all keys pressed anywhere on the page body from the moment the page loads.

You can also attach this key listener to elements rather than the body:

Suppose you only wanted to record keys pressed on a single textarea:








Same goes for text inputs.

Now if you want to save this then you can either use a cookie, or send it to your server in a form by using a hidden input and set that value to the variable keys above when the form gets submitted.

Hope this helps.

2007-08-09 00:06:15 · answer #1 · answered by E.M.Bed 5 · 0 0

Typed in? Like searching? Record the POST/GET transactions and the sql searches you perform.

2007-08-09 01:04:35 · answer #2 · answered by mdigitale 7 · 0 0

U can make a text box using tag and handle its event with the help of

tag.




and then can retriev the value using any scripting language.

2007-08-09 02:45:27 · answer #3 · answered by Suvidha A 3 · 0 0

Yes, as in a form, so that when they hit "enter" or click "sign up" or whatever it would be, I get the information they typed in.

2007-08-09 01:11:16 · answer #4 · answered by dfhdslf 1 · 0 0

A very LARGE hard drive. Could be done but a lot of programming involved.

2007-08-09 22:05:03 · answer #5 · answered by larystoy 3 · 0 0

As in a form that they fill out so you can collect information from them?

2007-08-09 01:05:33 · answer #6 · answered by Automation Wizard 6 · 0 0

fedest.com, questions and answers