()
| 148 | }; |
| 149 | |
| 150 | const init = async () => { |
| 151 | await fetch("iframe.html"); |
| 152 | |
| 153 | document.querySelector("button").addEventListener("click", async () => { |
| 154 | closeAllPopups(); |
| 155 | await elmerify(); |
| 156 | }); |
| 157 | |
| 158 | window.addEventListener("beforeunload", () => { |
| 159 | closeAllPopups(); |
| 160 | }); |
| 161 | }; |
| 162 | |
| 163 | init(); |
no test coverage detected