freakdesign / shopifyFD

JavaScript layer to provide additional functionality and fixes to the Shopify dashboard
MIT License
223 stars 49 forks source link

Content Security Policy directive #72

Closed droplister closed 7 years ago

droplister commented 7 years ago
VM1222:1 Refused to load the script 'https://s3.amazonaws.com/freakdesign-us/shopify/shopifyFD/s/shopifyFD.min.js' because it violates the following Content Security Policy directive: "script-src https://cdn.shopify.com https://checkout.shopifycs.com https://js-agent.newrelic.com https://bam.nr-data.net https://dme0ih8comzn4.cloudfront.net https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://maps.googleapis.com https://stats.g.doubleclick.net https://www.google-analytics.com https://visitors.shopify.com https://v.shopify.com https://widget.intercom.io https://js.intercomcdn.com 'self' 'unsafe-inline' 'unsafe-eval'".
VM1223:1 Refused to load the script 'https://rawgithub.com/freakdesign/shopifyFD/master/shopifyFD.load.js' because it violates the following Content Security Policy directive: "script-src https://cdn.shopify.com https://checkout.shopifycs.com https://js-agent.newrelic.com https://bam.nr-data.net https://dme0ih8comzn4.cloudfront.net https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://maps.googleapis.com https://stats.g.doubleclick.net https://www.google-analytics.com https://visitors.shopify.com https://v.shopify.com https://widget.intercom.io https://js.intercomcdn.com 'self' 'unsafe-inline' 'unsafe-eval'".
freakdesign commented 7 years ago

Hey @droplister - I'm not seeing that with the extension. Are you using the bookmarklet instead? If so, there a version that's hosted directly on the Shopify CDN.

Link down the bottom of this page.

droplister commented 7 years ago

It worked when I used the Shopify CDN bookmarklet.