Pro tip, ghostery add-on for Firefox. Works on both desktop and mobile. Automatically goes through the cookie pop up when you load a page, denying all, among other functions.
Better SiteBleacher, it delete all this crap after leaving the page. With this "you have never visited this page". (Not updated several years, but works as it should, because this crap on the sites is still the same)
Well, but there are alternative extensions which do the same, clear cookies and all related datas from the websites when you leave them, except the whitelisted sites. I also used it before, but SiteBleacher is easier to handle