Chuyển đến nội dung
Skillpedia
Bảo mật75k · #3056

third-party-cookies

Skill này làm gì

Skill này kiểm tra cookie nào được đặt bởi các domain khác với site người truy cập đang xem. Skill dành cho chủ website cần tuân thủ luật bảo mật và giảm theo dõi.

Khi nào nên dùng

  • ✓Khi website tải quảng cáo, công cụ phân tích hoặc widget đặt cookie từ các công ty khác.
  • ✓Khi site không có bước đồng ý cookie trước khi bắt đầu theo dõi.
  • ✓Khi chuẩn bị site cho các quy định về quyền riêng tư như GDPR hoặc CCPA.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/third-party-cookies/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/third-party-cookies/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Website của tôi tải rất nhiều script bên ngoài. Bạn có thể kiểm tra script nào đặt cookie theo dõi và chúng có cần sự đồng ý không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xem lại thông tin cookie và mạng của các domain bên ngoài. Sau đó agent gợi ý gỡ các script không cần thiết, hoặc xin sự đồng ý trước khi chúng đặt cookie.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Avoid third-party cookies

Third-party cookies enable advertising networks to build detailed behavioral profiles of users across every site they visit — without users being aware. Regulatory penalties for non-compliance with GDPR reach up to 4% of global annual turnover.

Quick Reference

  • Third-party cookies are set by a domain other than the one the user is visiting — typically by ad networks, analytics, or embedded widgets
  • Chrome is removing third-party cookie support and all major browsers now block or restrict them
  • Use the Network DevTools panel to identify Set-Cookie headers from third-party domains
  • GDPR (EU), CCPA (California), and PECR (UK) require informed consent before setting non-essential cookies
  • Alternatives: first-party data collection, privacy-preserving analytics (Plausible, Fathom), server-side tracking

Check

Open the browser DevTools Network panel and Application panel (Cookies section). Identify all cookies set by domains other than the current domain. Check for tracking pixels, analytics scripts, and advertising tags that set cross-site cookies.

Fix

Audit and remove unnecessary third-party scripts. Replace cross-site tracking with privacy-preserving first-party analytics. Ensure any remaining third-party cookies are gated behind explicit user consent via a cookie consent mechanism.

Explain

Explain what third-party cookies are, how they enable cross-site tracking, why browsers are blocking them, and how GDPR/CCPA regulate their use.

Code Review

Review server config, headers, forms, and integration points related to Avoid third-party cookies. Flag exact responses, cookies, or browser behaviors that violate the rule, and verify them against the effective production-like response.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/privacy/third-party-cookies

Câu hỏi thường gặp

Cookie bên thứ ba là gì?

Đó là cookie do một domain khác với site người truy cập đang xem đặt, thường là bởi mạng quảng cáo hoặc công cụ phân tích.

Skill liên quan đến những luật bảo mật nào?

Skill nhắc đến GDPR ở EU, CCPA ở California và PECR ở Anh.

Điều gì có thể thay thế việc theo dõi xuyên trang?

Skill gợi ý dữ liệu bên thứ nhất, công cụ phân tích chú trọng quyền riêng tư như Plausible hoặc Fathom, và theo dõi phía máy chủ.

Chi tiết

Mô tả gốc của tác giả

Use when reviewing a website for privacy compliance, third-party resource loading, or cookie consent implementation.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#3056
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự