Prerequisites
I tried to reproduce the issue when...
Description
remove-cookie scriptlet does not sometimes remove a cookie. At discovermagazine.com rule discovermagazine.com##+js(remove-cookie,kserv-session) does not work. Logger shows the scriptlet but it does not have any effect on the cookie kserv-session.
But on nautil.us this scriptlet works as expected. Rule nautil.us##+js(remove-cookie,arc) succesfully removes cookie called arc.
I checked on Brave, Edge and Firefox Nightly. Can reproduce this issue on all three browsers.
A specific URL where the issue occurs.
https://www.discovermagazine.com/mind/what-does-it-mean-to-be-an-ambivert
Steps to Reproduce
- Add
discovermagazine.com##+js(remove-cookie,kserv-session) rule to custom filter and add that filter to filter list or to user filters.
- Open cookie list in browser devtools and put 'kserv-session' in filter so you can easily see what is happening with it.
- Open discovermagazine.com. You can use article I linked or open any other article.
- Logger shows that this scriptlet is correct and working but actually cookie called
kserv-session was not removed. You can see in devtools that this cookie is still there.
- Open other articles. This cookie still isn't removed.
Expected behavior
Cookie is removed.
Actual behavior
Cookie didn't get removed.
uBO version
1.58.0
Browser name and version
Brave Version 1.67.123 Chromium: 126.0.6478.126
Operating System and version
Windows 11 10.0.22631
Prerequisites
I tried to reproduce the issue when...
Description
remove-cookiescriptlet does not sometimes remove a cookie. At discovermagazine.com rulediscovermagazine.com##+js(remove-cookie,kserv-session)does not work. Logger shows the scriptlet but it does not have any effect on the cookie kserv-session.But on nautil.us this scriptlet works as expected. Rule
nautil.us##+js(remove-cookie,arc)succesfully removes cookie called arc.I checked on Brave, Edge and Firefox Nightly. Can reproduce this issue on all three browsers.
A specific URL where the issue occurs.
https://www.discovermagazine.com/mind/what-does-it-mean-to-be-an-ambivertSteps to Reproduce
discovermagazine.com##+js(remove-cookie,kserv-session)rule to custom filter and add that filter to filter list or to user filters.kserv-sessionwas not removed. You can see in devtools that this cookie is still there.Expected behavior
Cookie is removed.
Actual behavior
Cookie didn't get removed.
uBO version
1.58.0
Browser name and version
Brave Version 1.67.123 Chromium: 126.0.6478.126
Operating System and version
Windows 11 10.0.22631