document.write('<META HTTP-EQUIV="Refresh" CONTENT="0;URL="http://www.standardchartered.com.hk/cb/download/new_fxmkt_pc.pdf">');
document.write("</head><body>");
document.write("</head><body>");
document.write("</head><body>");
document.write("</head><body>");
换成
location.href="http://www.standardchartered.com.hk/cb/download/new_fxmkt_pc.pdf"
不行吗?
document.write("</head><body>");你不就是想跳到别的页面吗直接location.href="http://www.standardchartered.com.hk/cb/download/new_fxmkt_pc.pdf";就可以了
<script>
document.write("<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=http://www.standardchartered.com.hk/cb/download/new_fxmkt_pc.pdf\">");
document.write("</head><body>");
</script>
bbbbbbbbbbbbbbbbbbbbbbbbbbbb
<head><link rel='SHORTCUT ICON' href='http://www.standardchartered.com/favicon.ico' type='image/x-icon'>
<title>Weekly Foreign Currency Market Commentary</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<script language="Javascript">// Check the browser
var browserver = 0;
var agt=navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);
var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
&& (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
&& (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
var is_nav6 = (is_nav && (is_major == 5));
var is_nav6up = (is_nav && (is_major >= 5));
if (is_nav && !is_nav6up)
browserver = 1;</script><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<script language="javascript">if (browserver == 0)
{
document.write("</head><body>");
document.write("<OBJECT classid='clsid:CA8A9780-280D-11CF-A24D-444553540000' width='100%' height='100%' border='0' id=Pdf1 style='left:0px; TOP:0px'>");
document.write("<param name='_Version' value='65539'>");
document.write("<param name='_ExtentX' value='20108'>");
document.write("<param name='_ExtentY' value='10866'>");
document.write("<param name='_StockProps' value='0'>");
document.write("<param name='SRC' value='http://www.standardchartered.com.hk/cb/download/new_fxmkt_pc.pdf'>");
document.write("</object>");
};
else
{
<script>
document.write("<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=http://www.standardchartered.com.hk/cb/download/new_fxmkt_pc.pdf\">");
document.write("</head><body>");</script> <br><script language='JavaScript' src='http://www.standardchartered.com/global/redsh.js'></script>
</body></html>