Laboratory is an experimental Firefox extension that helps you generate a proper Content Security Policy (CSP) header for your website. Simply start recording, browse your site, and enjoy the CSP header that it produces:
Laboratory requires Firefox 57 (Quantum) to function properly.
It is recommend that developers use web-ext for installation and testing. It provides a number of useful features, such as automated installation and autoreload upon source changes:
$ web-ext run --browser-console -s src --ignore-files 'img/*.afdesign'
If you are simply looking to give it a single run, you can install it by navigating to:
Firefox -> Tools -> Add-ons -> Extensions -> (Gear Icon) -> Debug Add-ons -> Load Temporary Add-on
Navigate to src/manifest.json
and it should start running immediately.