Skip to content

Commit

Permalink
ADD: mobile devtools (eruda)
Browse files Browse the repository at this point in the history
Use ?eruda=true to enable
  • Loading branch information
GreenMan36 committed Aug 24, 2024
1 parent 3278b4e commit e7960d5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@
<link rel="icon" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ledenportaal - INDEV</title>
<script>
(function () {
const erudaSRC = "//cdn.jsdelivr.net/npm/eruda";

if (
!/eruda=true/.test(window.location) &&
localStorage.getItem("active-eruda") != "true"
)
return;
document.write("<scr" + 'ipt src="' + erudaSRC + '"></scr' + "ipt>");
document.write("<scr" + "ipt>eruda.init();</scr" + "ipt>");
})();
</script>
</head>

<body>
Expand Down

0 comments on commit e7960d5

Please sign in to comment.