You have two options:
- Tampermonkey
Install Tampermonkey for Chrome;
Click the script to install it.
Vanilla Chrome
- Copy the code and save it to a file called
anything.user.js
; - In Chrome, go to
chrome://extensions/
(Tools > More Tools > Extensions); - Open the folder you saved the script to and drag it onto the Extensions dialog.