screenshot of the firefox console that shows my issue 此页面上大约有100个iframe,xframe选项阻止了其中一些,其他的则没有。这些iframe都来自同一网站。为什么只有少数被阻止?
答案 0 :(得分:0)
为什么只有少数被阻止?
因为只有少数网站主动拒绝其他网站将其显示在框架中。
答案 1 :(得分:0)
我通过使用git repo延迟加载每个iframe来解决了自己的问题:https://github.com/verlok/lazyload 我怀疑是lichess(我从中加载iframe的网站)或Firefox无法处理我在给定时间加载的iframe数,导致其中一些被阻止了。