devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

`docs` cookie lifetime set to 7 days in Brave browser

Open dshemetov opened this issue 2 years ago • 4 comments

Bug report

Cookies are set to 7 days in Brave browser. I have checked:

  • that the docs setting cookie lifetime is not extended upon visiting again, though the counts, hideIntro, and other cookies are
  • my browser is not set to clear cookies after close or anything like that
  • my browser is set to deactivate all cookies blocks and tracker filters for devdocs.io

OS information

Windows 11 and Brave Browser v1.59.120

Steps to reproduce

  1. Use Brave Browser
  2. Go to devdocs and enable some docs
  3. Look at cookie lifetime for docs and see that it's 7 days

More resources

image

Related to #1775, but unlike Safari, short cookie lifetime is not a known issue in Brave.

Possible fix

Unsure if this is something that can be controlled browser-side on my end or it's an app-side setting.

dshemetov avatar Oct 21 '23 19:10 dshemetov

This is a Brave deviation from Chrome, that aligns with how Safari handles JS cookies

https://github.com/brave/brave-browser/issues/3443

A possible workaround is installing the DevDocs PWA using Chrome/ium

rickdgeerling avatar Mar 13 '24 09:03 rickdgeerling

@tuxmachine thanks for the context. I am unfamiliar with PWAs, are you referring to the DevDocs Chrome/ium extension or something else?

dshemetov avatar Mar 14 '24 22:03 dshemetov

image PWAs can be "installed" like kinda like a native app. On my Linux laptop they'll appear in the menu alongside other applications. tl;dr: it launches the website in a window without a navbar.

I install the PWA using Chromium so it has a long TTL cookie, but my main browser can remain Brave.

rickdgeerling avatar Apr 02 '24 08:04 rickdgeerling

Interesting, thank you @tuxmachine

dshemetov avatar Apr 02 '24 17:04 dshemetov