-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (30 loc) · 3.04 KB
/
index.html
File metadata and controls
37 lines (30 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><title>JSONE在线</title><link rel="icon" type="image/png" href="./icon.png" /><link href="./static/css/2.36fcf5ee.chunk.css" rel="stylesheet"><link href="./static/css/main.538285c4.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,a=r[0],f=r[1],i=r[2],p=0,s=[];p<a.length;p++)l=a[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,i||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var a=this.webpackJsonpreact_demo=this.webpackJsonpreact_demo||[],f=a.push.bind(a);a.push=r,a=a.slice();for(var i=0;i<a.length;i++)r(a[i]);var c=f;t()}([])</script><script src="./static/js/2.4edbeab5.chunk.js"></script><script src="./static/js/main.7b6a177e.chunk.js"></script></body>
<script>
(function() {
var single = 5;
var signleTimer = null;
var _trigger = false;
document.body.addEventListener('click', function() {
single--;
if (single < 0 && !_trigger) {
_trigger = true;
Array.from(document.querySelectorAll('.jsoneditor-react-container')).slice(1).forEach(el => el.remove());
document.querySelector('.jsoneditor').style.width = 'auto'
}
clearTimeout(signleTimer);
signleTimer = setTimeout(function () {
single = 5;
}, 1000)
})
document.addEventListener('click', (e) => {
if(e.target.className === 'ace_content') e.stopPropagation();
}, true)
})()
// sw
!(function(d){
const script = document.createElement('script');
script.innerHTML = "if (navigator.serviceWorker != null) { navigator.serviceWorker.register('sw.js').then(function(registration) { console.log('Registered events at scope: ', registration.scope); });}";
d.body.append(script);
})(document);
</script>
</html>