When web pages request cross-origin data with fetch or XHR APIs, the response is denied unless CORS headers allow it. In contrast, extension content scripts have traditionally been able to fetch cross-origin data from any origins listed in their extension's permissions, regardless of the origin that the content script is running within.
--
You received this message because you are subscribed to the Google Groups "InboxSDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inboxsdk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inboxsdk/0df58625-1db0-41ac-923f-da7a13237401%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to inbo...@googlegroups.com.

You need to move all code that makes Ajax calls to your backend to the background page.
Using chrome.runtime.sendMessage to ask your background.js to do the fetching.
SendMessage allows for a reponse handler which the background.js can use to return data to your content.js
Ping me if you need example code.
--
You received this message because you are subscribed to a topic in the Google Groups "InboxSDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/inboxsdk/LT2JocCapmo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to inboxsdk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inboxsdk/acc16c5d-2f4b-4808-96f9-6ac5467e1378%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "InboxSDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/inboxsdk/LT2JocCapmo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to inboxsdk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inboxsdk/a28cf65d-b880-4a0f-b994-f20ee054640a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can u share screenshot of the error?
On Sat, Apr 20, 2019 at 3:03 AM Igor Matkovic <mla...@gmail.com> wrote:
I tried to do the same without any luck.--
I ended up deleting our entire App and just loading this. it loaded but it threw an errorInboxSDK.load('2', 'XXXXXXXX').then(function (results) {console.log('LOADED');});But I still get the same error.On Wednesday, April 10, 2019 at 3:48:34 PM UTC-7, Jochen Bedersdorfer wrote:I just fixed our chrome extension to work with 73.You need to move all code that makes Ajax calls to your backend to the background page.
Using chrome.runtime.sendMessage to ask your background.js to do the fetching.SendMessage allows for a reponse handler which the background.js can use to return data to your content.js
Ping me if you need example code.
You received this message because you are subscribed to a topic in the Google Groups "InboxSDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/inboxsdk/LT2JocCapmo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to inbo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inboxsdk/a28cf65d-b880-4a0f-b994-f20ee054640a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Regards,Geet Mehar