Install
$ agentstack add skill-bettyguo-browser-skills-dismiss-newsletter-popup ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Dismiss Newsletter Popup
When to invoke
After a few seconds on a content site (news, blogs, retail), a popup appears offering a newsletter signup. The dismiss controls are typically: a small "x" in the corner, a "no thanks" link, or pressing Escape.
The matcher fires this skill when the DOM contains a newsletter marker and the page is not in initial-load (these popups typically appear after a delay).
Recipe
- waitfordom_ready timeout=2s
- wait extra=200ms
- try_each selectors=[
"[class='newsletter' i] button[aria-label='close' i]", "[id='newsletter' i] button[aria-label='close' i]", "[class='subscribe' i] button[aria-label='close' i]", "[class='newsletter' i] button:has-text('No thanks')", "[class='subscribe' i] button:has-text('No thanks')", "[class='newsletter' i] button:has-text('Maybe later')", "button.newsletter-dismiss", "button.email-signup-close", "[data-testid='newsletter-close']", "[data-testid*='email-signup-close']", ] action=click on_success=stop timeout=1000ms
- press_key key=Escape
Success criteria
- assert novisibleelement selector="[class*='newsletter' i][role='dialog']" OR nochangewas_needed
When NOT to use
- The user explicitly wants to subscribe — don't auto-dismiss.
Known failures
- Popups that block scroll until interacted with: Escape doesn't always close them; the close button is small and unlabeled. Vision fallback for these.
- Popups inside cross-origin iframes: can't be clicked through Playwright's default context.
- Multiple newsletter popups stacked: v0.1 dismisses one; agent re-invokes for the next.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: bettyguo
- Source: bettyguo/browser-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.