<title>===CALLCALL`S BLOG===</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
body,td{font-size:12px}
</style>
</head>
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
style='overflow:scroll;overflow-x:hidden;overflow-y:hidden'>
<script>
document.write("<IFRAME Name=Kevan width=100% height=100% SrC='http://www.google.com' scrolling=yes marginwidth=0 marginheight=0 frameborder=0 vspace=0 hspace=0></iframe>");
alert(Kevan.document.getElementById('title').innerHTML)
</script></body>
</html>
frontpage預覽會顯示存取被拒
IE7跟FF都沒跑出ALERT
我該如何把GOOGLE的title標籤內容抓出來?
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
body,td{font-size:12px}
</style>
</head>
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
style='overflow:scroll;overflow-x:hidden;overflow-y:hidden'>
<script>
document.write("<IFRAME Name=Kevan width=100% height=100% SrC='http://www.google.com' scrolling=yes marginwidth=0 marginheight=0 frameborder=0 vspace=0 hspace=0></iframe>");
alert(Kevan.document.getElementById('title').innerHTML)
</script></body>
</html>
frontpage預覽會顯示存取被拒
IE7跟FF都沒跑出ALERT
我該如何把GOOGLE的title標籤內容抓出來?
楼主【mybbb】截止到2008-06-29 19:29:37的历史汇总数据(不包括此帖):
发帖数:8 发帖分:440
结贴数:8 结贴分:440
未结数:0 未结分:0
结贴率:100.00% 结分率:100.00%
敬礼!
查了一下似乎是跨域安全性的問題
有其他得到google <title>標籤的值方法也行