I'm currently trying to develop a chrome extension which is supposed to display data from different Jenkins servers. The url to the jenkins server is being entered by the user.
So basically what I need is being able to access any kind of jenkins url.
My problem is that Chrome's Content Security Policy only allows you to access domains which you've registered in the manifest.json like so:
"content_security_policy": "script-src 'self' http://localhost:8080/; object-src 'self'"
.
But since different users are going to enter different urls, I'd need to be able to change this policy dynamically, and I don't really know how to do that.