--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f0688a6d-863a-4665-a825-d881853b563f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
Can you add CORS support to your backend?If Firebase is the backend and it does not allow CORS out of the box, perhaps there is a setting that allows CORS or allows CORS for certain origins.☆PhistucK
On Wed, Mar 20, 2019 at 3:43 AM ForeverNewbieChromeDev <dolf.al...@gmail.com> wrote:
I was reading this latest update from Chrome.--
https://www.chromium.org/Home/chromium-security/extension-content-script-fetches
Our chrome extension is heavily dependent on outside request from Google Slide. We also use firebase in our content script. The purpose of using firebase within the content script is that Chrome messaging (background to content-script vise-versa) is very limited when it comes to passing the data. What we are passing is large data (audio files). What would be an alternative way to handle this issue.
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
As far as I know, firebase does support CORS. You can call it anywhere. The problem here is Google Chrome is blocking it if your request is coming from content script. The ideal setup is firebase should be working in the background but there is also a limitation for that setup, like in our setup we allow users to upload audio from google slide. Chrome extension does not support passing large data from content script to background. The only way is to instantiate a Firebase connection within the content script and from there you can communicate to firebase but due to new restriction of Google Chrome extension this action is already forbidden.
On Wednesday, March 20, 2019 at 4:45:56 PM UTC+8, PhistucK wrote:
Can you add CORS support to your backend?If Firebase is the backend and it does not allow CORS out of the box, perhaps there is a setting that allows CORS or allows CORS for certain origins.☆PhistucK
On Wed, Mar 20, 2019 at 3:43 AM ForeverNewbieChromeDev <dolf.al...@gmail.com> wrote:
I was reading this latest update from Chrome.--
https://www.chromium.org/Home/chromium-security/extension-content-script-fetches
Our chrome extension is heavily dependent on outside request from Google Slide. We also use firebase in our content script. The purpose of using firebase within the content script is that Chrome messaging (background to content-script vise-versa) is very limited when it comes to passing the data. What we are passing is large data (audio files). What would be an alternative way to handle this issue.
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f0688a6d-863a-4665-a825-d881853b563f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/76833089-c76d-4731-a914-67bb16865c5f%40chromium.org.
Chrome is not blocking cross origin requests that are allowed by CORS, even in content scripts (otherwise they would be more limited than regular websites, which makes no sense).Are you seeing CORS headers and blocked responses?☆PhistucK
On Wed, Mar 20, 2019 at 12:06 PM ForeverNewbieChromeDev <dolf.al...@gmail.com> wrote:
As far as I know, firebase does support CORS. You can call it anywhere. The problem here is Google Chrome is blocking it if your request is coming from content script. The ideal setup is firebase should be working in the background but there is also a limitation for that setup, like in our setup we allow users to upload audio from google slide. Chrome extension does not support passing large data from content script to background. The only way is to instantiate a Firebase connection within the content script and from there you can communicate to firebase but due to new restriction of Google Chrome extension this action is already forbidden.
On Wednesday, March 20, 2019 at 4:45:56 PM UTC+8, PhistucK wrote:
Can you add CORS support to your backend?If Firebase is the backend and it does not allow CORS out of the box, perhaps there is a setting that allows CORS or allows CORS for certain origins.☆PhistucK
On Wed, Mar 20, 2019 at 3:43 AM ForeverNewbieChromeDev <dolf.al...@gmail.com> wrote:
I was reading this latest update from Chrome.--
https://www.chromium.org/Home/chromium-security/extension-content-script-fetches
Our chrome extension is heavily dependent on outside request from Google Slide. We also use firebase in our content script. The purpose of using firebase within the content script is that Chrome messaging (background to content-script vise-versa) is very limited when it comes to passing the data. What we are passing is large data (audio files). What would be an alternative way to handle this issue.
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f0688a6d-863a-4665-a825-d881853b563f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
Yes they are blocking it based on their latest release note.
Read this:
https://www.chromium.org/Home/chromium-security/extension-content-script-fetches
On Wednesday, March 20, 2019 at 6:12:59 PM UTC+8, PhistucK wrote:
Chrome is not blocking cross origin requests that are allowed by CORS, even in content scripts (otherwise they would be more limited than regular websites, which makes no sense).Are you seeing CORS headers and blocked responses?☆PhistucK
On Wed, Mar 20, 2019 at 12:06 PM ForeverNewbieChromeDev <dolf.al...@gmail.com> wrote:
As far as I know, firebase does support CORS. You can call it anywhere. The problem here is Google Chrome is blocking it if your request is coming from content script. The ideal setup is firebase should be working in the background but there is also a limitation for that setup, like in our setup we allow users to upload audio from google slide. Chrome extension does not support passing large data from content script to background. The only way is to instantiate a Firebase connection within the content script and from there you can communicate to firebase but due to new restriction of Google Chrome extension this action is already forbidden.
On Wednesday, March 20, 2019 at 4:45:56 PM UTC+8, PhistucK wrote:
Can you add CORS support to your backend?If Firebase is the backend and it does not allow CORS out of the box, perhaps there is a setting that allows CORS or allows CORS for certain origins.☆PhistucK
On Wed, Mar 20, 2019 at 3:43 AM ForeverNewbieChromeDev <dolf.al...@gmail.com> wrote:
I was reading this latest update from Chrome.--
https://www.chromium.org/Home/chromium-security/extension-content-script-fetches
Our chrome extension is heavily dependent on outside request from Google Slide. We also use firebase in our content script. The purpose of using firebase within the content script is that Chrome messaging (background to content-script vise-versa) is very limited when it comes to passing the data. What we are passing is large data (audio files). What would be an alternative way to handle this issue.
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f0688a6d-863a-4665-a825-d881853b563f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/76833089-c76d-4731-a914-67bb16865c5f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/4676314a-d143-45c6-a9b5-d8f261e286d3%40chromium.org.
What does this mean?
"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. As part of a broader Extension Manifest V3 effort to improve extension security, privacy, and performance, ******these****** cross-origin requests in content scripts will soon be disallowed. *-*-*-*-*-*-*-Instead, content scripts will be subject to the same request rules as the page they are running within*-*-*-*-*-*-*-. Extension pages, such as background pages, popups, or options pages, are unaffected by this change and will continue to be allowed to bypass CORS for cross-origin requests as they do today.
Our data shows that most extensions will not be affected by this change. However, any content scripts that do need to make cross-origin requests can do so via an extension background page, which can relay the data to the content script. We have a migration plan below to help affected extension developers make the transition to the new model."
chrome.runtime.sendMessage
chrome.runtime.onMessage.addListener
Can you add CORS support to your backend?If Firebase is the backend and it does not allow CORS out of the box, perhaps there is a setting that allows CORS or allows CORS for certain origins.☆PhistucK
On Wed, Mar 20, 2019 at 3:43 AM ForeverNewbieChromeDev <dolf.al...@gmail.com> wrote:
I was reading this latest update from Chrome.--
https://www.chromium.org/Home/chromium-security/extension-content-script-fetches
Our chrome extension is heavily dependent on outside request from Google Slide. We also use firebase in our content script. The purpose of using firebase within the content script is that Chrome messaging (background to content-script vise-versa) is very limited when it comes to passing the data. What we are passing is large data (audio files). What would be an alternative way to handle this issue.
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f0688a6d-863a-4665-a825-d881853b563f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/76833089-c76d-4731-a914-67bb16865c5f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f0688a6d-863a-4665-a825-d881853b563f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/76833089-c76d-4731-a914-67bb16865c5f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/4676314a-d143-45c6-a9b5-d8f261e286d3%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/d5246e43-0cf3-4979-b52e-32accdc90411%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f0688a6d-863a-4665-a825-d881853b563f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/76833089-c76d-4731-a914-67bb16865c5f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/4676314a-d143-45c6-a9b5-d8f261e286d3%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f0688a6d-863a-4665-a825-d881853b563f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/76833089-c76d-4731-a914-67bb16865c5f%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/4676314a-d143-45c6-a9b5-d8f261e286d3%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/d5246e43-0cf3-4979-b52e-32accdc90411%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/a578f886-c345-4fb1-904a-f22a8aada233%40chromium.org.


