我正在寻找有关此iframe问题的解决方案
domain.com/:1 Refused to display 'domain.com/?q=node/add/editor' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
domain.com/?q=node/add/editor
Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE
domain.com/:1 Refused to display 'domain.com/?q=node/add/editor' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
pay.webintellizer.com/?q=node/add/editor
Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE
仅供参考,如果有特殊代码,则这两个站点都基于drupal。我已经为iframe测试了相同的域和不同的域的URL,但是存在相同的错误。
如https://stackoverflow.com/a/33777934/195812中所述,检查您的[[x-frame-options值
...他们不允许在其域之外的iframe中加载资源。因此,此iframe无法显示跨域。