我有了一个iframe链接到另一个网站与下面的示例代码的iframe网站:我如何隐藏iframe中网站的网址?
<html>
<body>
<iframe src="http://google.com" width="100%" height="600">
</iframe>
</body>
</html>
所以,上面的例子中,我怎么能防止访客找到的网址:http://google.com?
我有了一个iframe链接到另一个网站与下面的示例代码的iframe网站:我如何隐藏iframe中网站的网址?
<html>
<body>
<iframe src="http://google.com" width="100%" height="600">
</iframe>
</body>
</html>
所以,上面的例子中,我怎么能防止访客找到的网址:http://google.com?
您可以编写例如PHP或Apache重写从后端服务器获取页面。这有很少的CPU开销。
找到什么对象?你不能从响应文本中删除它,所以客户端将始终可以查看html代码 – VMAtm 2011-05-20 14:02:19
你不能因为谷歌无处不在。 – Bastardo 2011-05-20 14:07:11