firefox在https页面下访问非ssl的websocket的设置方法
2017-11-24 16:41
1101 查看
想在https页面下访问非ssl的websocket服务,在firefox的默认配置下已经被禁止了,需要打开设置才可访问。
As you point out in another answer, https:// to ws:// is disallowed by default on firefox.
Going to firefox's about:config and toggling network.websocket.allowInsecureFromHTTPS will get rid of the SecurityError.
设置方法:
1. 在firefox中输入 about:config
2. 在设置中搜索 websocket,找到network.websocket.allowInsecureFromHTTPS,设置为true即可。
此设置保存在firefox的一个prefs.js的文件中,可以直接修改此文件以达到此目的(在firefox进程不存在的情况下才生效)。
文件位置:%appdata%\Mozilla\Firefox\Profiles\7a9tjtvi.default\
As you point out in another answer, https:// to ws:// is disallowed by default on firefox.
Going to firefox's about:config and toggling network.websocket.allowInsecureFromHTTPS will get rid of the SecurityError.
设置方法:
1. 在firefox中输入 about:config
2. 在设置中搜索 websocket,找到network.websocket.allowInsecureFromHTTPS,设置为true即可。
此设置保存在firefox的一个prefs.js的文件中,可以直接修改此文件以达到此目的(在firefox进程不存在的情况下才生效)。
文件位置:%appdata%\Mozilla\Firefox\Profiles\7a9tjtvi.default\
相关文章推荐
- linux Apache设置https访问以及加载mod_ssl.so模块
- Firefox访问https出现 ssl_error_weak_server_ephemeral_dh_key错误
- 火狐 Firefox https 访问时出现安全连接失败提示: 在服务器密钥交换握手信息中 SSL 收到了一个弱临时 Diffie-Hellman 密钥 解决办法
- C#、VB.NET使用HttpWebRequest访问https地址(SSL)的实现方法
- firefox不能访问https站点设置
- 爬取https页面遇到“SSLError: hostname 'xxx' doesn't match either of”的解决方法
- 无法安装ADT(无法访问https://dl-ssl.google.com/android/eclipse/) 的解决方法
- Firefox访问https出现 ssl_error_weak_server_ephemeral_dh_key错误
- Apache 多种方法设置HTTP页面自动跳转到HTTPS
- Nginx下配置网站SSL实现https访问本站就是用的这方法
- nginx使用ssl模块配置支持HTTPS访问的方法
- Nginx下配置网站SSL实现https访问本站就是用的这方法
- 无法安装ADT(无法访问https://dl-ssl.google.com/android/eclipse/) 的解决方法
- ASP.NET中HTML页面的访问验证设置方法
- Nginx SSL/HTTPS 设置方法
- Win7 64位下的firefox 无法访问https的解决方法!
- C#、VB.NET使用HttpWebRequest访问https地址(SSL)的实现方法
- Firefox访问https出现 ssl_error_weak_server_ephemeral_dh_key错误
- WebSphere SSLC0008E 无法初始化 SSL 连接。未授权访问被拒绝,或者安全性设置已到期 解决方法
- 谷歌浏览器chrome设置特定网页使用Https(ssl)访问