It's easy to stop pop-ups on a Windows 10 PC for your system and browser. You just need to edit your notification settings ...
If you want to get rid of the Dashboard on your Mac running macOS Mojave or earlier, you can do so in System Preferences.