What about using a good browser extension to stop malware downloads? Malwarebytes Browser Guard stopped the file https://secure.eicar.org/eicar_com.zip dead cold in Edge and Chrome. I did not test it in Firefox.
C.H.
C.H.