# Creating a profile does not get rid of cookies

**URL:** <https://forums.distill.io/t/creating-a-profile-does-not-get-rid-of-cookies/2758>\
**Category:** Help and Support\
**Tags:** profiles\
**Created:** [November 22, 2023, 3:05pm UTC](https://forums.distill.io/t/creating-a-profile-does-not-get-rid-of-cookies/2758 "2023-11-22T15:05:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smudau](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@smudau](https://forums.distill.io/u/smudau)\
**Post date:** [November 22, 2023, 3:05pm UTC](https://forums.distill.io/t/creating-a-profile-does-not-get-rid-of-cookies/2758/1 "2023-11-22T15:05:44Z")

</div>

I am trying to use profiles to monitor a site that is blocked by a cookie notification. See screenshot attached.

 ![image](https://forums.distill.io/uploads/default/original/1X/3f90b4e7f3d8250b49b5023b93144fa6a04e9550.png)

I have created a profile by selecting the menu from the “device” section of the options. In the remote browser section, I added the url and selected the cookies from the site and clicked save and close.

However, when I go back to the monitor and refresh, the cookie notification still blocks the content on the webpage. Have I missed a step to make this work as intended?

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [November 23, 2023, 9:56am UTC](https://forums.distill.io/t/creating-a-profile-does-not-get-rid-of-cookies/2758/2 "2023-11-23T09:56:56Z")

</div>

Thanks for sharing this. I looked in to how bank.lv is saving the preference. It isn’t saving the preferences in cookies. It is saving it in [local storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) instead! This is the root cause of the problem.

Is the need is to remove the cookie popup from monitored content? It is possible to remove it using its selector:

 ![image](https://forums.distill.io/uploads/default/original/1X/198708ce3263e4ea0187813fd6c3191f9fbad5e4.png)

The CSS selector for this is: `.cookie-overlay`. It can be added using the visual selector or directly in the config.

Try it out and see if it will work for you. Let me know if have any questions. Cheers!
