CSS is unrelated to JavaScript. If the script says it is JavaScript, you must use the JavaScript instructions. There are two different ways to install scripts in Chrome. If the first doesn't work, use the Firefox instructions with with the Tampermonkey extension instead (link provided in the post).