Bug #3594

Micro Forwarder: Config page in Chrome refuses to execute script

Added by Jeff Thompson over 5 years ago. Updated over 5 years ago.

Start date:
Due date:
% Done:


Estimated time:


In Chrome, the Micro Forwarder Config page does load. But the buttons don't work. The console under More Tools -> Developer Tools says:

"Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem: chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-6VtUf9aBzRxMH3M/YzUbmML2ET4pZ7z9kstGiVryhCE='), or a nonce ('nonce-...') is required to enable inline execution."

Do we want to add the 'unsafe-inline' keyword?


Updated by Wentao Shang over 5 years ago

  • Assignee set to Wentao Shang

This is the same error message I got with the previous version of the pop-up page. I think we can use the same solution here: just move all the inline code into the separate js file. I can try to make a patch.


Updated by Jeff Thompson over 5 years ago

Thanks. Give it a try. Please pull first since I made a little change to config.html to fix bug #3586 :


Updated by Wentao Shang over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed the problem by moving all the inline JS code into a separate config.js file.

Also available in: Atom PDF