Coookie Banner (auto-blocking.js) interferes with site script loading

I’ve just spent quite some time with a colleague figuring out why the **bleep** every JS function on a client site stopped working from one day to the other.
Turns out that the client had enabled the HS Cookie Banner (auto-blocking.js) in the HS backend and it interfered with our eventlistener for DOMContentLoaded state.
Rewriting the eventlistener sorted the issue (for now), but i’m quite keen to find out if it’s intended to target local scripts in base.html?
Also if it’s possible to setup the Cookie Banner to NOT autoblock certain scripts?
The two local scripts are added at the end of base.html through require_js and worked flawlessly for months up until the Cookie Banner was activated.

Hi, @TTimes :waving_hand: Thanks for reaching out. Hey, @tjoyce @JBeatty, do you have any experience here? Thank you for taking a look! — Jaycee