Well, EU law requires you to use cookie banners if your website contains cookies that are not required for it to work. Common examples of such cookies are those used by third-party analytics, tracking, and advertising services. These services collect information about people’s behavior across the web, store it in their databases, and can use it to serve personalized ads.
EU 有法律规定,如果你的网站不需要 cookie 也能使用,但是又放了 cookie,那需要 cookie 弹窗告知用户你的网站有 cookies。例如有些网站使用了第三方分析、跟踪、广告服务,这些服务会在你访问网站时放入 cookie,以用于收集用户的跨网站行为,并把这些行为记录到它们的数据库中,最后根据这些行为向用户提供个性化广告。
GitHub 删除 cookie 弹窗的做法很简单:移除了所有非必须的 cookie。just don’t use any non-essential cookies. 访问 GitHub 时,你的数据不会发送给任何 GitHub 之外的第三方。