If you get ads, popups, and notifications from WindowTask, your Mac is infected with adware. WindowTask is adware for Mac.
WindowTask changes setting on your Mac. First, WindowTask installs a browser extension in your browser. Then, after WindowTask hijacks your browser, it modifies the settings in the browser. For example, it changes the default home page, modifies search results, and displays unwanted pop-ups in your browser.