- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的小程序默认使用 HttpOnly
cookie。下面提到的代码片段在 IE11 中工作,并获取小程序内的 cookie 数据。但它在 Firefox 52 ESR 中不起作用,并且返回一个 null
值。
cookies = CookieHandler.getDefault().get(new URI(URLHelper.getContextPath(this) + "/images/gui"),new HashMap<String, List<String>>());
任何帮助将不胜感激!
最佳答案
Firefox no longer provides NPAPI support (technology required for Java applets) As of September, 2018, Firefox no longer offers a version which supports NPAPI, the technology required to run Java applets. The Java Plugin for web browsers relies on the cross-platform plugin architecture NPAPI, which had been supported by all major web browsers for over a decade. The 64 bit version of Firefox has never supported NPAPI, and Firefox version 52ESR is the last release to support the technology. It is below the security baseline, and no longer supported.
Excerpt from Oracle enable Java in my web browser
Firefox has removed NPAPI plugin support, and therefore Java Plugin cannot be enabled in Firefox browser version 52 and above.
关于java - 有没有办法在java小程序中获取HttpOnly cookies数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54359447/
我是一名优秀的程序员,十分优秀!