Remove unsafe-inline javascript
mweinelt opened this issue · comments
Martin Weinelt commented
The what and why, and how to do it right:
https://developer.chrome.com/extensions/contentSecurityPolicy#JSExecution
Offending:
Mostly onclick
/onchange
handlers as far as I can tell, nice work!
<select id="vendorselect"
onchange="firmwarewizard.setSearchQuery(this.value); scrollDown();"></select>
Verify against
codedust commented
"It does, however, require you to write your code with a clean separation between content and behavior"
Nagut. War ich bisher zugegebenermaßen einfach zu faul zu, das zu mal zu fixen. ^^