求js书签一枚
比如当前打开www.123.com/good/bad.html
点击这个书签打开后 变成 www.123.com.aa.bb/good/bad.html
跪谢!
------解决方案--------------------
<script>
var url=decodeURIComponent(window.location.href);
if(url=="http://www.123.com/good/bad.html"){
window.localtion.href="http://www.123.com.aa.bb/good/bad.html";
}
</script>