Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was watching the Google I/O keynote. It was mentioned that 60 billion words are typed on chrome everday.

Is the value updated locally and is there a way to access it? If not, is there any way to find the total number of keystrokes I have typed? Is there a 'safe' extension?

share|improve this question

1 Answer 1

up vote 1 down vote accepted
+50

The value is definitely not updated locally. If Google Chrome in fact records all the users' keystrokes, then it is being sent directly to Google's servers and there is no way to access it.

It is possible that each keystroke is being sent to Google, to allow Chrome to display the auto-suggest results, for example.

CNET article from 2008:

The auto-suggest feature of Google's new Chrome browser does more than just help users get where they are going. It will also give Google a wealth of information on what people are doing on the Internet besides searching.

Provided that users leave Chrome's auto-suggest feature on and have Google as their default search provider, Google will have access to any keystrokes that are typed into the browser's Omnibox, even before a user hits enter.

What's more, Google has every intention of retaining some of that data even after it provides the promised suggestions. A Google representative told CNET News that the company plans to store about 2 percent of that data - and plans to store it along with the Internet Protocol address of the computer that typed it.

In theory, that means that if one were to type the address of a site - even if they decide not to hit enter - they could leave incriminating evidence on Google's servers.

More info about keystorke logging in Google Chrome's auto-suggest can be found here.


What you can do is use a keylogger extension and record the data yourself. Obviously, you need a safe keylogger for education purpose and not a malicious one.

I found some keylogger scripts which you can use:

If they are outdated or they just don't work, you can always search for "chrome keylogger script" or "chrome keylogger extension".

They seem safe and simple (Note: I haven't tested them). Since they're chrome scripts (extensions) it's easy to work with and it only has access to Chrome so you should be able to get the data you need.

Some of them might work online with an internet connection, and some of them might work offline locally, so you probably need to know how to work with PHP and a SQL database.

After downloading the extension/script, open it (if it's a Chrome extension it's a .crx file). You should look for JavaScript files, for example: manifest.json or runtime.js (this was the names in one of the extensions).

For website-specific scripts, like the Facebook one, you should change the script so it will work on every website in Chrome instead of just Facebook. Inside manifest.json (or other JS file), you need to edit the piece of code which currently triggers the keylogger only in facebook.com URLs, so it will run in any web page. So you need to edit:

"matches": [ "https://www.facebook.com/*", "http://www.facebook.com/*", "http://*.facebook.com/*", "https://*.facebook.com/*"]

To:

"matches": [ "http://*/*", "https://*/*"]

And then drag the modified .crx extension file to chrome://chrome/extensions/ and drop it there, so it will get installed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.