Repository navigation
Conversation
…2.1.0) "Nuke this" replaces "Kill nag wall" in the popup. It sweeps for anti-adblock walls as before, then drops a picker on the page: hover highlights, click hides, Esc cancels. Clicking inside a full-screen overlay takes the whole overlay. Scroll locks and blur are undone. The pick is saved for the site and applied as user-origin CSS on every visit. When the element is named after a third-party script host on the page (.pelcro-* with js.pelcro.com), the service is learned and its overlay is hidden on any other site that shows the token. Shared platforms are never learned. The picker is the only content script that can change settings: the worker takes a save only from the top frame of a tab the popup armed, one save per arm, and validates selectors and tokens in shared/nuke-rules.js. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
"Nuke this" replaces "Kill nag wall" in the popup.
!important..pelcro-*withjs.pelcro.com), the service is learned and its overlay is hidden on every other site showing the token. Shared platforms (Google, Cloudflare, CDNs and so on) are never learned.Trust
The picker is the only content script that can change settings.
background/nuke.jsaccepts a save only from the top frame of a tab the popup armed (10 min), one save per arm, and undo only for that save (60 s). Selectors are limited to the grammar the picker writes (escaped idents,# . >,:nth-of-type(n)), so nothing can close a rule. Service tokens must be plain identifiers.Tests
test/unit/nuke.test.mjs: selector and token validation, service learning (Pelcro case, denylist, own-site, short brands), CSS output, normalisation.test/e2e/nuke.spec.mjs: one-click overlay nuke, reload persistence, learned service on a second site, Esc, undo, arming, popup Undo, Settings removal. Mutation-checked: disabling service matching or the arm check fails the right tests.npm run check: 42 unit, 60 e2e. One unidentified flake in the first of four full runs; three clean runs since, and the nuke spec passed 30/30 under--repeat-each=5.🤖 Generated with Claude Code