Well, there seem to be two problems here.
First, you seem to want to believe the advertising pop-ups. Those cannot scan your computer. Websites cannot scan your computer. That’d be a security and privacy catastrophe, as malware scans are intrusive. They access everything. You don;t want a website that can access your everything, so all current browsers seek to block that.
Second, you installed add-on anti-malware. I’d suggest removing that, and update to current and use the built-in anti-malware. That of Monterey and Ventura, particularly.
Add-on anti-malware seldom provides any benefit, too often provides lots of noise (advertising itself to its user). and too often add-on anti-malware provides problems, and some of add-on anti-malware can itself be vulnerable or can itself act as malware, and which can then add vulnerabilities or can (deliberately) leak your private data.
In one recent case, the add-on anti-malware falsely detected non-existent malware for some ancient and rare version of Windows within a core macOS file, and—without regard to the wisdom of blowing away hunks of macOS—both the app and the users then tried to delete the file. macOS blocked all that, preventing the add-on anti-malware and the users from corrupting their macOS install. The add-on anti-maleare eventually and quietly fixed the false positive. In another case, the add-on anti-malware was selling the users’ web browsing and web purchasing activities, all helpfully personally identified for the buyers’ tracking convenience.
These messes with add-on anti-malware are far more common than they should be. And are far less common with the built-in anti-malware; with XProtect, and XProtect Remediator, and related. (Some updates to that built-in anti-malware just shipped, too.)