JitzyJT received kudos from
Aryeh Goretsky in Eset not detecting drive by download
Thanks again @Marcos
That did it. I changed the scan action of IDM from "auto" to "scan" and ESET blocked it straight way. Tried with Chrome, Firefox, Edge Chromium (with microsoft store idm extension) and Brave browser.
ESET blocked the download on all four browsers.
As for limiting the connections which I didn't have to do anyway so I'm leaving it as it is.
I'll keep looking if it'll happen again after changing the setting.
Thank you for now!!!