Pages containing malicious code will be blocked automatically. If Defender is wrong, just whitelist them!
Since Firefox and Chrome do not have methods yet to connect to AMSI, we need a little script to achieve it. No worries, source code is here.
You can try to select some text and in the context menu click on "Send to AMSI". Try the EICAR String to see the result.