Skip to content

v2.0.0 — drop accessibility YouTube Shorts blocker, DNS-only release#15

Merged
undisputedP merged 1 commit into
mainfrom
claude/v2.0-dns-only
May 9, 2026
Merged

v2.0.0 — drop accessibility YouTube Shorts blocker, DNS-only release#15
undisputedP merged 1 commit into
mainfrom
claude/v2.0-dns-only

Conversation

@undisputedP
Copy link
Copy Markdown
Owner

Summary

After v1.0.4 → v1.0.10 iterating on accessibility-based YouTube Shorts detection, the approach proved too fragile to ship reliably. Each YouTube redesign moved view IDs and class names, and chasing them turned into a regression treadmill (tabs back-pressed away in v1.0.6 and v1.0.9, frame rate drops in v1.0.7 and v1.0.8, in-player scroll unblocked in v1.0.9). Removing the entire codepath and pointing users at ReVanced for the YouTube case. DNS blocking (Reels / TikTok / Snap / X) is unchanged.

Removed

  • ShortsAccessibilityService.kt and res/xml/accessibility_service_config.xml
  • <service> block for the accessibility service in AndroidManifest.xml
  • accessibility_service_description / accessibility_service_summary strings
  • YouTube Shorts and Shorts-detector-debug cards in MainActivity + activity_main.xml
  • Corresponding fields, listeners, and isShortsAccessibilityEnabled / refresh* helpers in MainActivity

Updated

  • README — title, feature list, "what's blocked" table, FAQ, install steps, "how it works" section. New callout near the top explaining why YouTube Shorts is out and recommending ReVanced for that use case.
  • BlockingRules comment — points to the README / ReVanced instead of the (now-deleted) accessibility service.
  • versionCode 11 → 12, versionName 1.0.10 → 2.0.0.

Why a major version bump

This drops a previously-shipped feature. Anyone updating from 1.0.x and relying on accessibility-based YouTube Shorts blocking will lose that capability — major version bump signals the breaking scope.

Test plan

  • Install v2.0.0 APK
  • App launches with no YouTube Shorts card and no Debug card
  • Toggle VPN on/off — DNS blocking still works for the listed platforms
  • Reboot phone — boot receiver still re-arms VPN if it was active
  • Open Android Settings → Accessibility — ShortsBlocker no longer appears (the service is gone)
  • Visual sanity check on the README rendering on GitHub

🤖 Generated with Claude Code

After v1.0.4 through v1.0.10 iterating on accessibility detection for
YouTube Shorts, the approach proved too fragile: every YouTube
redesign shifted view ids and class names, and chasing the changes
turned into a treadmill of regressions (tabs back-pressed away, frame
rate drops, unblocked in-player scrolling). Removing the entire
codepath and pointing users at ReVanced's "Hide Shorts" patches for
that case.

Removed:
- ShortsAccessibilityService.kt and its res/xml config
- AndroidManifest <service> for the accessibility service
- accessibility_service_description / _summary strings
- YouTube Shorts and Shorts-detector-debug cards in MainActivity +
  activity_main.xml; corresponding fields, listeners, and
  isShortsAccessibilityEnabled / refresh* helpers in MainActivity

Updated:
- README: drop YouTube Shorts from title and feature list, replace
  "two engines" callout with a "why no YouTube Shorts" callout that
  recommends ReVanced, drop Engine 2 / detection-rules section, swap
  the YouTube-accessibility FAQ for a "What about YouTube Shorts?"
  pointer, drop accessibility install step
- BlockingRules: comment now points at the README/ReVanced rather
  than the (now-deleted) accessibility service
- versionCode 11 -> 12, versionName 1.0.10 -> 2.0.0

DNS blocking (Reels / TikTok / Snap / X) is unchanged.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@undisputedP undisputedP merged commit 0e185cd into main May 9, 2026
2 checks passed
@undisputedP undisputedP deleted the claude/v2.0-dns-only branch May 9, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant