You have to enable the developer mode and drag the file to the extension page, you can find instructions here: https://developer.chrome.com/extensions/getstarted#unpacked
I've also provided the source code, so let me know if you have any issues to run it ;)