@xinyultd/whistle.inspect 1.0.1 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,17 +7,22 @@
7
7
  var btn = document.createElement("input");
8
8
  btn.type = "button";
9
9
  btn.style = `position: absolute;
10
- width: 80%;
10
+ width: 72%;
11
11
  height: 46px;
12
12
  color: #fff;
13
13
  left: 50%;
14
14
  top: 290px;
15
15
  transform: translate(-50%, 0);
16
16
  background-color: #fb8817;
17
+ border: none;
17
18
  z-index: 10`;
18
19
  btn.value = "获取京东CK";
19
20
  btn.addEventListener('click', function () {
20
- alert(document.cookie);
21
+ let pin = JD.cookie.get('pin');
22
+ let text = ``;
23
+ console.log(wx);
24
+ // JD.wxappext.chooseWXPay();
25
+ wx.jumpBlankWebview('https://m.jd.com');
21
26
  });
22
27
  document.body.prepend(btn);
23
28
  // setInterval(() => {
package/index.js CHANGED
@@ -31,3 +31,5 @@ timer(curl);
31
31
  setInterval(function () {
32
32
  timer(curl);
33
33
  }, 15000);
34
+
35
+ window.JD.wxapi.getSignature()
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@xinyultd/whistle.inspect",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "lack watch network-inspect",
7
- "publish": "npm publish --access public"
7
+ "release": "npm publish --access public"
8
8
  },
9
9
  "whistleConfig": {
10
10
  "hintList": [
package/rules.txt CHANGED
@@ -1,3 +1,3 @@
1
1
  wap.huayingrc.com whistle.inspect://
2
2
  * jsAppend://assets/vConsole.js includeFilter://resH:content-type=html
3
- https://pro.m.jd.com/mini/active/3KtGHbULzVit4MQTza2FThSoM6cF/index.html jsAppend://assets/nongchang.js includeFilter://resH:content-type=html
3
+ pro.m.jd.com/mini/active/*/index.html jsAppend://assets/nongchang.js includeFilter://resH:content-type=html