首页 > 网站 > WEB开发 > 正文

JavaScript 判断来源网址

2024-04-27 14:03:27
字体:
来源:转载
供稿:网友
<script language="javascript">
if ((parent.location .href!="http://www.vevb.com/code/"))
{
    alert("请用http://code.vevb.com查看");
    parent.location.href="http://code.vevb.com"
}
</script>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表