@xinyultd/whistle.inspect 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
+
})();
|