“When you close the browser and open a new one is the malware still active?”
Sorry I didn’t answer this correctly. the script remains in your cache until you go clear your data and history cache. But some browsers you can set to dump the cache every time you close it. In which case closing it and opening it should clear it for you.
Thanks.
I think I am going to abandon my Yahoo and GMail email accounts and move to protonmail exclusively and continue using KeePass.