Firefox Cross Domain Request

前端 未结 6 1511
别跟我提以往
别跟我提以往 2020-12-30 07:39

I need to make a cross domain request from a script that runs in firefox (it\'s just for development purposes).

Can this be achieved? maybe modifying the about

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 08:12

    A little late, but thought I'd post the info here anyway;

    I didn't fully read the links in everyone's answers, but I had a quick look and I didn't see that anyone mentioned using the PrivilegeManager - Bypassing Security Restrictions and Signing Code. Using this you can have your FireFox JavaScript app invoke a request for extended security privileges in the browser, including cross domain XHR.

提交回复
热议问题