You need to add the external domains to the site setting: content_security_policy_script_src in your admin settings page.
content_security_policy_script_src