mirror of
https://github.com/miljegen/miljegen-website.git
synced 2024-10-30 07:23:43 +00:00
6 lines
231 B
JavaScript
6 lines
231 B
JavaScript
window.addEventListener("message", (event) => {
|
|
if (event.data.extensionDetected) {
|
|
const elementToHide = document.getElementById("test-milje");
|
|
if (elementToHide) elementToHide.style.display = "none";
|
|
}
|
|
}); |