摘要: 插件需求是在某个页面的div中注入一个按钮 按钮注入是写在content.js中 content.js文件是在页面刷新后才执行的; 问题是,如果页面的div被ajax异步重新加载后,按钮无法重新注入,原因是content.js不会再执行了,请问该如何监控才能让按钮重新注入到div中呢,不知道有没有大 阅读全文
posted @ 2019-01-03 09:39 parent 阅读(208) 评论(0) 推荐(0) 编辑
  2019年4月16日
摘要: 开发浏览器插件的时候不想去post别人的数据,好像有种方法可以监控到页面运行ajax返回的数据,就是下图这里的数据,还请大家看看 阅读全文
posted @ 2019-04-16 18:01 parent 阅读(1275) 评论(2) 推荐(0) 编辑
  2018年10月30日
摘要: public static string GetHtml(string url) { string htmlCode; HttpWebRequest webRequest = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url); 阅读全文
posted @ 2018-10-30 18:36 parent 阅读(1711) 评论(0) 推荐(0) 编辑
  2017年5月13日
摘要: 代码: new Ext.form.ComboBox({ store: new Ext.data.JsonStore({ idProperty: 'VehicleNo', url: '../ajax/test.ashx, fields: ['VehicleNo', 'phoneNum'] }), id 阅读全文
posted @ 2017-05-13 16:47 parent 阅读(375) 评论(0) 推荐(0) 编辑
  2017年4月27日
摘要: 1,引入支付宝的sdk(AopSdk) 支付宝接口文档网站可下载,注意下载C#版本; 2,代码写的比较简单 public static string RSASign(string OrderNo,decimal Money,string bodyp,string subjectp) { string 阅读全文
posted @ 2017-04-27 18:07 parent 阅读(802) 评论(0) 推荐(0) 编辑
摘要: 验证数字的正则表达式集 验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位 阅读全文
posted @ 2017-04-27 17:26 parent 阅读(335) 评论(1) 推荐(1) 编辑