20116920
访问站点www.a.com 内容还是站点A的内容只是浏览器地址显示www.b.com能实现吗?
错误列子: javascript: var stateObject = {}; var title = "Wow Title"; var newUrl = "http://www.baidu.com"; history.pushState(stateObject,title,newUrl); window.history.go(1);
报错: Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'htt://www.baidu.com' cannot be created in a document with origin 'http://localhost:3008' and URL 'http://localhost:3008/'.
能实现不?