例如当前页是http://abc.com/aa/cba.com/index.html点击javascript连接后把前面的abc.com/aa去掉  再跳回http://cba.com/index.html
这个代码有哪位朋友能提供下吗?