Firefox setting to enable cross domain Ajax request

后端 未结 11 856
广开言路
广开言路 2020-11-28 06:46

I need to temporally allow cross domain XMLHttpRequest. Changing firefox security setting seems to be the way to go. But I\'ve tried with this and this but they did

11条回答
  •  野性不改
    2020-11-28 07:05

    To allow cross domain:

    1. enter about:config
    2. accept to be careful
    3. enter security.fileuri.strict_origin_policy in the search bar
    4. change to false

    You can now close the tab. Normally you can now make cross domain request with this config.

    See here for more details.

提交回复
热议问题