惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
博客园 - 三生石上(FineUI控件)
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
罗磊的独立博客
博客园_首页
量子位
雷峰网
雷峰网
GbyAI
GbyAI
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
D
DataBreaches.Net
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Cloudflare Blog
IT之家
IT之家
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Purpose-based consent: a missing layer in the browser
ProtoConsent · 2026-04-26 · via DEV Community

Why organizing privacy choices around purposes, not vendors, changes everything

Purpose-based privacy control

The problem with consent today

There is no browser-level place where a user can say "I allow analytics but not ads on this site" and have it enforced consistently. Privacy choices today are scattered across per-site dialogs, each with different language, different categories, and different defaults. The result is not informed consent - it is consent fatigue.

Existing tools sit at two extremes. Content blockers operate on domains and filter lists: effective, but blunt. Consent management platforms (CMPs) operate per site and per vendor: flexible for the site, opaque for the user. There is no browser-level layer in between where you can express intent by purpose and have it enforced consistently across sites.

Why purpose-based

ProtoConsent organizes decisions around purposes of data use: functional, analytics, ads, personalization, third-party services, and advanced tracking. Not around vendors, cookies, or domains.

Purpose is the only abstraction that connects three things simultaneously:

  • Regulation: major privacy frameworks organize consent around purpose limitation. GDPR, CCPA/CPRA, LGPD, PIPL, PIPA, and APPI all use purpose as the fundamental unit.
  • Human comprehension: people think "I don't want ads tracking me", not "I don't want requests to doubleclick.net". Purpose maps to how users actually reason about their choices.
  • Viable enforcement: purposes can be mapped to domain categories and filter rules that browser extension APIs can enforce at the network level.

A vendor-based model would fragment decisions across hundreds of entities. A cookie-based model would ignore network-level tracking. Purpose sits at the right level of abstraction.

Why browser-level

ProtoConsent places enforcement in the browser, not in the site or in a backend:

  • No delegation to sites: enforcement does not depend on each site honoring preferences. The browser blocks requests before they leave your device.
  • No backend: no central server, no accounts, no cloud sync. All state is local.
  • Consistency: the same choice applies the same way across sites, rather than being re-negotiated per banner.

The browser is the only place where you can block requests, emit privacy signals like GPC, and show the user what happened, all without introducing new remote points of control.

Express, enforce, observe

ProtoConsent starts from a single premise: consent is only meaningful if the user can express it in understandable terms, enforce it technically, and observe its effects. If any of the three is missing, the system fails.

  • Express: per-site profiles and purpose toggles let you say "on this site, allow analytics but deny ads" from a single popup.
  • Enforce: the browser blocks requests associated with denied purposes before they leave your device. A conditional GPC signal is sent per site, with legal weight under CCPA/CPRA.
  • Observe: blocked request counters, a real-time log, and per-domain purpose attribution show you exactly what enforcement does.

This creates a feedback loop: the user decides, the browser enforces, the user sees the result. Consent becomes a process, not a single click.

Enforcement is a means, not an end

ProtoConsent uses curated blocklists to enforce user choices, but blocking is not the goal: it is the mechanism that makes consent meaningful. The current core set is built from public blocklists, organized by purpose, with cross-source validation and an explicit safelist. Path-based precision (blocking google.com/pagead/ instead of all of google.com) prioritizes correctness over exhaustiveness.

Optional extended lists provide broader coverage with curated third-party sources for users who want it, without changing the core model.

Voluntary site cooperation

ProtoConsent supports two optional ways for websites to participate:

  • Site declarations: a website publishes a .well-known/protoconsent.json file declaring its purposes, legal bases, and providers. The extension displays it alongside user preferences. It is a transparency signal, not enforcement evidence.
  • SDK: websites can query the user's consent state per purpose and adapt their behavior accordingly. The SDK is read-only and returns null if no extension is present.

Both paths are optional. ProtoConsent works without any site integration. Sites that cooperate add transparency, not a requirement.

What ProtoConsent is not

  • Not a full ad blocker: its goal is purpose-based consent enforcement, not exhaustive tracking coverage.
  • Not a consent management platform: it does not manage consent on behalf of sites or negotiate with vendors.
  • Not a VPN or anonymity tool: browser-level enforcement cannot prevent server-side processing or offline correlation.
  • Not a legal compliance tool: it provides technical mechanisms for consent, not legal adjudication.

ProtoConsent adds a layer that didn't exist: a personal consent control panel in the browser, organized around purposes, that can work alongside the tools you already use.

Try it

ProtoConsent is free and open source (GPL-3.0+ for the extension, MIT for the SDK). Available on the Edge Add-ons Store. Try the live demo, or read the developer guide to integrate your site.

Source: github.com/ProtoConsent/ProtoConsent