【发布时间】:2010-04-16 18:49:36
【问题描述】:
当我从 cnn.com 更改代理服务器页面时(我添加了调用 document.location 的 javascript),document.location 的结果是一些广告网址:http://ads.cnn.com/html.ng/site=cnn_international&cnn_intl_pagetype=mmst&cnn_intl_position=336x850_rgt&cnn_intl_rollup=asia&page.allowcompete=yes¶ms.styles=fs&tile=5656033441721&domId=894131
而不是当前网址:http://edition.cnn.com/2010/WORLD/asiapcf/04/13/soccer.world.cup.pakistan/index.html?hpt=C1
你知道,哪里有问题吗? 编辑:问题与使用 window.location 相同。
【问题讨论】:
标签: javascript document location