sIFR 不适用于禁用的 Cookie
除非禁用 cookie,否则 sIFR 在各个浏览器中都能正常工作。 禁用 cookie 后,网站似乎在刷新时开始加载,但随后很快变成空白屏幕,页面源中没有任何内容和标记。 我尝试使用预取来解决但没有成功。 还有其他人遇到过类似的问题吗?
sIFR is working fine across browsers UNLESS cookies are disabled. When cookies are disabed, the site appears to begin to load on refresh, but then quickly turns blank to a white screen without any content and no markup in the page source. I've tried using prefetch to resolve with no success. Has anyone else experienced a similar problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
前几天我收到一封电子邮件,询问了一个相当类似的问题,其中从
$(document).ready()
内部调用了 sIFR.activate(),这会破坏如果 cookie 被禁用。 由于各种原因必须直接调用sIFR.activate()
。我不确定这是否适用于问题中描述的情况,但巧合很有趣。
I received an email the other day asking a rather similar question, in which
sIFR.activate()
was invoked from inside$(document).ready()
, which would break if cookies were disabled. For various reasonssIFR.activate()
must be called directly.I'm not sure if this is applicable to the situation as described in the question, but the coincidence is interesting.