Disable cross domain web security in Firefox

后端 未结 8 587
耶瑟儿~
耶瑟儿~ 2020-11-29 00:24

In Firefox, how do I do the equivalent of --disable-web-security in Chrome. This has been posted a lot, but never a true answer. Most are links to add-ons (some

相关标签:
8条回答
  • 2020-11-29 00:47

    While the question mentions Chrome and Firefox, there are other software without cross domain security. I mention it for people who ignore that such software exists.

    For example, PhantomJS is an engine for browser automation, it supports cross domain security deactivation.

    phantomjs.exe --web-security=no script.js
    

    See this other comment of mine: Userscript to bypass same-origin policy for accessing nested iframes

    0 讨论(0)
  • 2020-11-29 00:51

    Almost everywhere you look, people refer to the about:config and the security.fileuri.strict_origin_policy. Sometimes also the network.http.refere.XOriginPolicy.

    For me, none of these seem to have any effect.

    This comment implies there is no built-in way in Firefox to do this (as of 2/8/14).

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