Hi,
I have an Google Chrome extension. I need someone to resolve a problem related to Inline JavaScript restrictions.
I have an chrome extension which uses YouTube Player API to control videos and playlists (pause,play,forward,rewind).
Extension is done. Developer needs to resolve a problem related to Inline JavaScript restrictions on chrome extension.
Specifically, this:
Refused to load the script '[login to view URL]'; because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource
In my chrome extension I use the following function, in order to activate the controls (play,pause,forward,rewind):
function setupPlayer()
{
var tag = [login to view URL]('script');
[login to view URL] = "[login to view URL]";
var firstScriptTag = [login to view URL]('script')[0];
[login to view URL](tag, firstScriptTag);
}
PS: aforementioned function is implemented on popup.js.
The idea then, is to move this iframe "[login to view URL] = "[login to view URL]"; into a background page, and
then build an interface on [login to view URL] to interact with the background page.
Please consider this opportunity.
thank you.
Hi, I've carefully read your project description. I have experiences with browser extension. And I am sure to complete this project, if you agree certainly :) See PM also, thanks.