puppeteercookieconsenthandler
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "puppeteercookieconsenthandler" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4ca23c09204f9ea154e710e65dcb88e7ed58efd03499df198c606c8d3c93adc4. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/puppeteer-cookie-consent-handler-3 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Uses Puppeteer page.evaluate with selectors, together with CMP protocols, to detect and dismiss cookie consent banners on websites. Supports IAB TCF v2.0 consent string format and is compatible with GDPR and CCPA banner patterns.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Puppeteer Cookie Consent Handler"
slug: "puppeteer-cookie-consent-handler-3"
version: "1.0.0"
displayName: "Puppeteer Cookie Consent Handler"
summary: "使用 Puppeteer page.evaluate 选择器和 CMP(同意管理平台)协议检测并关闭网站上的 Cookie 同意横幅。支持 IAB TCF v2.0 同意字符串和 GDPR/CCPA 横幅模式。"
license: "MIT"
description: "使用Puppeteer page.evaluate选择器和CMP(同意管理平台)协议检测并关闭网站上的Cookie同意横幅。支持IAB TCF v2.0同意字符串和GDPR/CCPA横幅模式。"
github_stars: 94115
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Browser Automation"
framework: "Claude Code"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 94115
npm_package: "puppeteer"
npm_weekly_downloads: 40191842Puppeteer Cookie Consent Handler
Detects and dismisses cookie consent banners across websites using Puppeteer page.evaluate selectors and the CMP (Consent Management Platform) protocol. Supports IAB TCF v2.0 consent strings and GDPR/CCPA banner patterns.
Installation
Use the upstream install or setup path that matches your environment:
- npm i puppeteer # Downloads compatible Chrome during installation.
- npm i puppeteer-core # Alternatively, install as a library, without downloading Chrome.
Basic usage or getting-started notes:
-
bash npm2yarn
-
MCP
-
a Puppeteer-based MCP server for browser automation and debugging.
-
Extracted from upstream docs: https://raw.githubusercontent.com/puppeteer/puppeteer/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决网页自动化中常见的 Cookie 同意横幅处理问题,实用性强
- 支持 IAB TCF v2.0、GDPR 和 CCPA 等多种合规协议,覆盖面广
Areas to improve
-
description写错位置 Reported severity: Minor
核心功能描述主要分布在 skill_body 中,frontmatter 的 description 字段内容较简短
Recommendation: 建议将完整的触发描述整合到 frontmatter 的 description 字段中,或在 frontmatter 中增加 when_to_use 字段
Highlights
- 功能描述清晰,涵盖了 Puppeteer、CMP 协议等关键技术点
Areas to improve
-
缺少When to Use/示例章节 Reported severity: Minor
文档中缺少具体的使用场景说明和端到端示例
Recommendation: 建议增加 When to Use 章节和具体的代码使用示例
-
结构不够完整 Reported severity: Minor
缺少具体的执行步骤划分和 Phase 说明
Recommendation: 建议按照 Phase 1/2/3 的方式组织执行流程,明确各阶段任务
Highlights
- frontmatter 信息基本完整,包含必要的元数据
Areas to improve
-
异常处理未详细说明 Reported severity: Minor
未说明如何处理页面加载失败、选择器失效等常见异常情况
Recommendation: 建议增加异常处理机制和错误恢复策略的说明
Highlights
- 依赖的 Puppeteer 工具来源明确,安装方式清晰
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 29, 30
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- pptr.dev
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.