@xinyultd/whistle.inspect 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/nongchang.js +27 -0
- package/assets/vConsole.js +10 -1
- package/package.json +3 -2
- package/rules.txt +2 -0
- package/assets/test.js +0 -1
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
; (function () {
|
3
|
+
window['___whistle.inspect-is-inited'] = true;
|
4
|
+
var exports = {};
|
5
|
+
var module = { exports: exports };
|
6
|
+
|
7
|
+
var btn = document.createElement("input");
|
8
|
+
btn.type = "button";
|
9
|
+
btn.style = `position: absolute;
|
10
|
+
width: 80%;
|
11
|
+
height: 46px;
|
12
|
+
color: #fff;
|
13
|
+
left: 50%;
|
14
|
+
top: 290px;
|
15
|
+
transform: translate(-50%, 0);
|
16
|
+
background-color: #fb8817;
|
17
|
+
z-index: 10`;
|
18
|
+
btn.value = "获取京东CK";
|
19
|
+
btn.addEventListener('click', function () {
|
20
|
+
alert(document.cookie);
|
21
|
+
});
|
22
|
+
document.body.prepend(btn);
|
23
|
+
// setInterval(() => {
|
24
|
+
// console.log('pao pao test');
|
25
|
+
// }, 1000);
|
26
|
+
new module.exports();
|
27
|
+
})();
|