1

iframe/@source在网站上,我经常通过设置目标地址将包含图像查看器的 HTML 加载到 iframe 中。

通常,这可以正常工作,例如http://dev2.hab.de/edoc/view.html?id=edoc_ed000216_f010_transcript显示请求的页面(http://diglib.hab.de/show_image.php?dir=drucke/li -10249&distype=imgs&image=00033)就好了。

但是就在隔壁,如果http://dev2.hab.de/edoc/view.html?id=edoc_ed000244_f02-widmungsvorrede尝试加载完全相同的页面,我会在 Chrome (67.0) 中收到错误:

Cross-Origin Read Blocking (CORB) blocked cross-origin response 
http://diglib.hab.de/show_image.php?dir=drucke/li- 
    10249&distype=imgs&image=00033 with MIME type text/html.

Firefox (60.0.2) 在第一种情况下也显示页面,但在第二种情况下不显示,但在控制台中甚至没有显示任何消息。

任何想法,无论我错过了明显的东西还是任何其他提示,都将受到高度赞赏。

4

0 回答 0