Wanted to share this combo, as it's such a cool protection from drive-by attacks.
1. uBlock Origin with the "block access to LAN" filter-list
2. DNS rebind protection (available in pihole, NextDNS, dnsmasq, AsusWRT-Merlin, etc)
JS can no longer easily target your LAN!!!