Ajax call bug with Chrome new version 73.0.3683.75?

前端 未结 1 1667
囚心锁ツ
囚心锁ツ 2020-12-02 00:29

My code was working fine before the Chrome update.

I make an ajax call to my server. My server receives the call, returns JSON to the client, but the answer is alway

相关标签:
1条回答
  • 2020-12-02 00:56

    I had the same problem after upgrade to Chrome 73. Thanks to @wOxxOm

    This is the workaround until now:

    1. Go to chrome://flags
    2. Disabled the Enable network service


    UPDATE:

    This is not a bug, according to this announcement: https://www.chromium.org/Home/chromium-security/extension-content-script-fetches

    You will need to put the Cross-Origin Fetches to the background script instead of the content script.

    0 讨论(0)
提交回复
热议问题