debug console
This commit is contained in:
parent
b3bee6e951
commit
ee4120d0bc
@ -160,6 +160,20 @@
|
||||
</div>
|
||||
</noscript>
|
||||
<!-- /Yandex.Metrika counter -->
|
||||
<script>
|
||||
let params = new URLSearchParams(document.location.search);
|
||||
console.log(params.get("debug"))
|
||||
if (params.get("debug")) {
|
||||
console.log(
|
||||
"mhgfhdhfjhffhfhjfghjgf"
|
||||
)
|
||||
let scriptTag = document.createElement('script');
|
||||
scriptTag.setAttribute('src', "https://markknol.github.io/console-log-viewer/console-log-viewer.js");
|
||||
scriptTag.setAttribute('async', '');
|
||||
document.getElementsByTagName("head")[0].append(scriptTag);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user