Inline javascript is not permitted in background.html for security reasons. You should instead put the javascript code in a file such as script.js then add this <script src="script.js"></script> to...