From 6890abcc3302e332e494e6535a14604281e64544 Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Mon, 26 Sep 2022 12:23:56 +0200 Subject: [PATCH] add debug this page btn --- src/components/footer.jsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/footer.jsx b/src/components/footer.jsx index 31774e4..0e42ddc 100644 --- a/src/components/footer.jsx +++ b/src/components/footer.jsx @@ -8,10 +8,20 @@ const Footer = () => ( Discord Matrix {window.open("https://www.youtube.com/watch?v=f-UIBVsRSDQ")}}>DMCA + { + if (window.eruda) { + window.eruda.show(); + } else { + var script = document.createElement('script'); + script.src="https://cdn.jsdelivr.net/npm/eruda"; + script.onload = function () { eruda.init() } + document.body.appendChild(script); + } + }}>Debug this page

Website by Cloudburst

) -export default Footer \ No newline at end of file +export default Footer