devdocs
devdocs copied to clipboard
`docs` cookie lifetime set to 7 days in Brave browser
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
- Use Brave Browser
- Go to devdocs and enable some docs
- Look at cookie lifetime for
docsand see that it's 7 days
More resources
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.
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
@tuxmachine thanks for the context. I am unfamiliar with PWAs, are you referring to the DevDocs Chrome/ium extension or something else?
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.
Interesting, thank you @tuxmachine