I'm working on a Chrome extension that needs to execute some functions on each tabs it works on, but Content Security Policy in HTML5 prevents the extension to append needed scripts to some websites like pinterest. because of update issues, I load this script from my website, How could I load the script from source "http://mywebsite.com/loader-script.js" and execute it on each tab?
Asked
Active
Viewed 64 times
1 Answers
1
Loading external scripts is only possible through two ways: Loading external javascript in google chrome extension
This will answer you question. Regards, Benedikt
-
Thank you. yes, I executed the file instead of appending it, it was a little tricky but solved – Reyraa Sep 23 '14 at 15:29