I\'m trying to get my Chrome Extension to inject some javascript with content_scripts, using this previous answer as a reference.
content_scripts
In addition to the answers above I notice that in your contentscript.js you are just adding another script i.e script.js Why don't you directly add script.js through content_scripts in manifest.json.
contentscript.js
script.js
manifest.json