Giter Site home page Giter Site logo

Is there possibility to block third party cookies (block cross site tracking cookies and isolate other cross site cookies) about nyxt HOT 8 CLOSED

marcinkosztolowicz avatar marcinkosztolowicz commented on July 1, 2024
Is there possibility to block third party cookies (block cross site tracking cookies and isolate other cross site cookies)

from nyxt.

Comments (8)

aartaka avatar aartaka commented on July 1, 2024 1

Third party cookies are disabled by default. You can configure/force the behavior with

(define-configuration :browser
  "Forcing the no third party cookie behavior. 
Other options are: 
:NEVER to store no cookies at all.
:ALWAYS to accept all of them :/"
  ((default-cookie-policy :no-thirt-party)))

We also have enabled WebKit Intelligent Tracking Protection by default. Which is Apple's machine learning thingie trying to guess which websites need cookies and which should be blocked to hell. But this ITP thing is a black box, so no comments there.

Documentation is lacking, yes.

from nyxt.

aadcg avatar aadcg commented on July 1, 2024 1

@marcinkosztolowicz you can get the documentation for this slot by invoking the describe-slot command (via Ctrl-Space) and typing default-cookie-policy.

from nyxt.

aadcg avatar aadcg commented on July 1, 2024 1

nyxt:describe-slot?class=%1Bbrowser&name=%1Bdefault-cookie-policy

from nyxt.

marcinkosztolowicz avatar marcinkosztolowicz commented on July 1, 2024 1

@aadcg That was my first impression. I tested it with youtube as an third party and I thought that firefox handles it as I expected which is isolate or block those youtube cookies. I investigated it further and it looks like firefox does not block or isolate this youtube cookies so behavior is more or less similar to nyxt with :no-third-party configuration.
I've also checked it with other cookies (probably from advertisers) and it looks like there are blocked as intended.
I am wondering why youtube cookies are not treated as third party cookies.

To sum up. From nyxt perspective it is as good as firefox (with less configuration options in nyxt, but this is not the topic of this issue)

from nyxt.

aadcg avatar aadcg commented on July 1, 2024

CC @aartaka.

from nyxt.

jmercouris avatar jmercouris commented on July 1, 2024

We could also post a Nyxt url to the page :-O

from nyxt.

marcinkosztolowicz avatar marcinkosztolowicz commented on July 1, 2024

Thank you for your answers! it was really informative. I hope maybe it will help someone in future, when she will search issues on github :)

One thing is bothering me and I have some further questions.
I want to apologize if I do not understand some concepts behind blocking third party cookies.

What I observer
I can see cookies for third party site like youtube on different site where youtube video is embedded.

What I would like to have
At least I would like to have cookies with different user identification or even better to not have this third party cookies set.
(this is what firefox have)

How to reproduce

  1. open Nyxt, go to youtube, open developer tools (function: open-inspector), checkout youtube cookies (eg, VISITOR_INFO1_LIVE)

*_024

  1. open new tab and go to site with embedded youtube video (eg. https://punchsalad.com/tutorials/embed-youtube-video/ in this example you need to click play on video)
  2. checkout cookies, eg, VISITOR_INFO1_LIVE have the same value as in first point

*_025

from nyxt.

aadcg avatar aadcg commented on July 1, 2024

@marcinkosztolowicz it seems that what you're saying is that setting default-cookie-policy to :no-third-party (the default) does not work as advertised. In other words, it's a bug. Is that correct?

from nyxt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.