Check out TamperMonkey for Chrome: http://tampermonkey.net/
Or, if you want to do it manually, in Chrome it's really easy.
In Chrome, go to: chrome: // extensions. Then drag your .js file onto this page.
Chrome will automatically create a manifest.json file in the Chrome AppData folder. You can modify the manifest.json file to filter the websites on which you want to use the script.
40-love
source share