首页 > 解决方案 > 如何在 iframe 中打开页面?

问题描述

在 iframe 中插入指向我们应用程序的链接。

格式:

<iframe src="https://test.test.com"></iframe>

当在浏览器而不是页面中打开时,它会返回:

<html><script>window.location.href=window.location.href</script><html>

问题不稳定。对于某些用户,会打开一个页面。如果您在浏览器中阻止了 cookie,该页面也会打开。更改了 dns 和 nginx 设置。不受影响。可能是什么问题呢?

标签: htmlcookiesiframe

解决方案


推荐阅读