我正在開發django網站和嵌入OpenERP使用標記。openERP嚮導問題與html iframe
實施例:
<html>
<head>
<title>my website</title>
</head>
<body>
<h3>my website content </h3>
<iframe src="http://192.168.1.54:8069/" width="1024" height="600"></iframe>
</body>
</html>
創建嚮導(前銷售訂單行/)不開。上顯示錯誤的瀏覽器控制檯窗口類似
Uncaught SecurityError: Blocked a frame with origin
"http://192.168.1.54:8069"
from accessing a frame with origin "null". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "file". Protocols must match.
嘗試V6和V7但在這兩種情況下,它不能正常工作
我怎樣才能解決這個問題
PLZ添加一些示例如何添加CORS在其他服務器 – Gaurav