自动填充表单

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

目前为 2018-03-05 提交的版本。查看 最新版本

作者
陈鹏杰
评分
0 0 0
版本
0.2
创建于
2018-03-05
更新于
2018-03-05
大小
4.2 KB
许可证
暂无
适用于

操作教程
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',
};

};
}