Open benoit74 opened 5 months ago
Another temporary workaround might be to manually set those two cookies via the Brave UI…
Another temporary workaround might be to manually set those two cookies via the Brave UI…
I tried but then it got worse, other errors appeared when saving the profile speaking about bad cookies
The second problem is that I get a strange message in the logs when creating the profile. It is just a warning and the profile is still created, but it seems a bit worrying:
This warning can be ignored, just means the browser is loading things when the profile is saved and closed. Since we don't compare about the page loading fully here, that should be fine.
I wasn't quite able to repro this - perhaps the banners are different now, or are based on location? Is this still an issue?
This warning can be ignored
OK, perfect
I wasn't quite able to repro this - perhaps the banners are different now, or are based on location? Is this still an issue?
Do you mean that when you open the browser at http://localhost:9223
the banners are visible on your setup? I just tried again and the banners are still not visible. This is not a location issue because I tried running the container on my laptop (so same IP than my "normal" browser) and the banner still don't appear when creating the profile but are there on my "normal" navigation.
I'm trying to create a login profile for www.solidarite-numerique.fr, in order to set cookies which will disable the display of banners highlighted in green in screenshot below.
Banner 1 is removed when a cookie named
VisitorAgree
with valueACCEPTED
is set.Banner 2 is removed when a cookie named
BandeauCheck
with valueMASQUEE
is set.(or currently, it seems that setting any of these cookies is sufficient to remove both banners, but it is maybe a bug, at least it wasn't working like this few weeks ago, anyway, this is not the problem).
I start the creation of login profile with following command:
The first problem I have is that when I open the browser at
http://localhost:9223
, the website is displayed inside Brave window as expected, but the banners are already gone, so I cannot click the "close" button to set the cookie.This would be cool if the banner was also not retrieved when crawling, but this is not the case, the banner is present "inside the WARC". I tried to disable Brave Shields should it be the problem, but it changed nothing.
Any idea on how to workaround this? For now I will probably workaround this by adding a custom CSS on top of existing ones to hide the banners (we are lucky to have this feature in warc2zim ^^) but I would like to understand why creating the login profile is not working as expected.
The second problem is that I get a strange message in the logs when creating the profile. It is just a warning and the profile is still created, but it seems a bit worrying: