Can a website tell if a visitor has a malicious extension installed?
Not directly and not reliably, since extensions are designed to be invisible to pages. What a site can observe is the effect: unexpected injected scripts, modified DOM, or stripped response headers. Monitoring the scripts and behavior that actually execute on your pages is a more practical detection path than enumerating extensions.