2

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?

Reyraa
  • 4,174
  • 2
  • 28
  • 54

1 Answers1

1

Loading external scripts is only possible through two ways: Loading external javascript in google chrome extension

This will answer you question. Regards, Benedikt

Community
  • 1
  • 1
Benedikt
  • 954
  • 3
  • 14
  • 25
  • 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