mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
Detecting that ad has failed to load with timeout is not accurate and won't work on slow connections. This commit fixes that by changing detection to use 'onerror' event on <script> tag instead, which will be triggered if ad script fails to load due to blocking.