Orest Bida

Results 103 comments of Orest Bida

@wupg98 there must be something wrong with your config. I set up a [demo on Stackblitz](https://stackblitz.com/edit/stackblitz-starters-bikxwf?description=HTML/CSS/JS%20Starter&file=app.js&terminalHeight=10&title=Static%20Starter) and it works on firefox. Make sure you view the full page version. There...

At the moment the plugin tries 2 attempts to delete a cookie: https://github.com/orestbida/cookieconsent/blob/3c8df8e377fdbbcaadf248759a47faaec6ec3cda/src/utils/cookies.js#L331-L332 which explains your behaviour. As for the path thing, I cannot reproduce that; if I specify a...

The tests are flawed. You are setting a cookie in a specific path, but you can't see it, unless your current page corresponds to that exact path. You could add...

> I find that to be true, which is the motivation for removing them completely You CAN delete a cookie in a different path/domain, but you must know beforehand the...

I already said twice that it DOES do something. You CAN delete a cookie by providing a path, but you can't test if it exists or not, so you have...

If you are on `http://domain.com` and you set a cookie on `http://domain.com/demo`: ```js document.cookie = "test=d; expires=Fri, 31 Dec 2025 23:59:59 GMT; path=/demo"; ``` that cookie can only be deleted...

Simply deleting the first erase function might not be the best approach. Since we don't know how a cookie is set (with/without a specific domain), we have to try both...

Mhm, you are currently trying to delete the cookie 2 times, both with a specific domain field. If a cookie is set without a specific domain field it will not...

@imnasnainaec Sorry for the late feedback, happy new year too! LGTM, thanks for the contribution!