Easy way to stop the annoying popups from snap.com

Get annoyed by them? Me too. A lot. And it seems you can’t disable them by using their interface. Or at least it doesn’t work for me. Hot to fix this? Well, just like with any of these things, they usually load a javascript file. So, let’s just not load it: First of all, edit /etc/hosts and add a line like 127.0.0.1 spa.snap.com: sudo vi /etc/hosts which should end like: 127.0.0.1 spa.snap.com Better now!