Is it possible to modify the Browser Source plugin's Content Security Policy

Icye

New Member
Hello, I'm trying to include images hosted on my own website within a browser source as custom css content through the url property, example:
content: url(https://icye.ca/images/example.jpg);

However, the obs-browser plugin refuses to load the image because of the CSP directive only including an arbitrary list of images it deems safe - here is a line from my logfile for reference:
[obs-browser: 'Icye Image'] Error: Refused to load the image 'https://icye.ca/images/example.jpg' because it violates the following Content Security Policy directive: "img-src 'self' blob: data: https://*.discordapp.net https://*.discordapp.com https://*.discord.com https://i.scdn.co https://i.ytimg.com https://i.imgur.com https://media.tenor.co https://media.tenor.com https://c.tenor.com https://*.youtube.com https://*.giphy.com https://static-cdn.jtvnw.net https://pbs.twimg.com".

Is there a way to modify the CSP without disabling it entirely?

I've browsed through the CEF flags to look for something to pass with the shortcut as well as looking through the plugin's folder within \AppData\Roaming\obs-studio\plugin_config to no avail.

Thank you for your time for anyone who looks at this!
 
Top