Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
sIFR 在浏览器中运行良好,除非 cookie 被禁用。当 cookie 被禁用时,网站似乎开始在刷新时加载,但随后很快变成空白屏幕,没有任何内容,页面源中也没有标记。我试过使用预取来解决,但没有成功。有没有其他人遇到过类似的问题?
前几天我收到一封电子邮件,询问了一个非常相似的问题,该问题sIFR.activate()是从内部调用的$(document).ready(),如果禁用 cookie,它将中断。由于各种原因sIFR.activate()必须直接调用。
sIFR.activate()
$(document).ready()
我不确定这是否适用于问题中描述的情况,但巧合很有趣。