自动填充表单

适合后端需要填写表单测试的人员.

Author
陈鹏杰
Daily installs
0
Total installs
768
Ratings
6 0 0
Version
0.2
Created
2018-03-05
Updated
2018-03-05
License
N/A
Applies to
  • yongshangju.com
  • order.com

操作教程 1.在UserScript中添加你的网站 // @match http://www.order.com/*

2.在代码开头 var order = /www\.order\.com/i 用正则匹配你的网站

3.在代码中 把order 替换为代码开头写的变量

    if(order.test(site)){
        var input = {
        account_name:'代xx',
        account_mobile:'1375747xxxx', // 手机号
        id_number:'341221198xxxxxxxxx', //身份证
        card_number:'622848031812xxxxx', //银行卡
        loan_amount:100,
        loan_term:10,
        loan_date:'2017-10-22'
        //select 的值
        var  select = {
            occupation:'JUNIOR',
        };

        };
    }