diff --git a/index.html b/index.html index 0800569..56dc838 100644 --- a/index.html +++ b/index.html @@ -12,14 +12,7 @@ z-index: 1000; } - + миљеген diff --git a/milje-main.js b/milje-main.js new file mode 100644 index 0000000..f94c3b6 --- /dev/null +++ b/milje-main.js @@ -0,0 +1,6 @@ +window.addEventListener("message", (event) => { + if (event.data.extensionDetected) { + const elementToHide = document.getElementById("test-milje"); + if (elementToHide) elementToHide.style.display = "none"; + } +}); \ No newline at end of file