The script records the URL of the site, the time, and the keystrokes typed.

How Keylogger Chrome Extensions Work: A Deep Dive into Browser-Based Spyware