Skip to content

Twitch: mark GTA streams red, warn before they load, option to remove - #3

Merged
Backware merged 3 commits into
mainfrom
feat/twitch-warning
Nov 12, 2026
Merged

Backware merged 3 commits into
mainfrom
feat/twitch-warning

Conversation

@Backware

Copy link
Copy Markdown
Owner

Requested by Adrian · project thread

Summary

Twitch GTA streams are now marked red and warned about by default, and a new setting lets you remove them completely instead (the previous behaviour).

Default: "Mark red and warn"

  • Stream cards, sidebar channels and category cards in any GTA category get a red frame, a red tint and a "GTA" badge, instead of being hidden.
  • Clicking a red stream shows a warning before the stream is opened: "Go back" stays on the list, "Watch anyway" opens it.
  • Opening a GTA stream any other way (direct link, new tab, streamer switching to GTA mid-stream) shows the warning in front of the paused, muted player.
  • "Watch anyway" is remembered per channel for that tab, and the stream keeps a red frame around the page as long as it's in a GTA category.
List Warning
red warning

(Screenshots are from the test fixtures, not the real Twitch layout.)

Setting: "Remove completely"

Settings page → Twitch → "Remove completely": GTA streams disappear from lists and GTA stream pages are blocked, as in 1.2.0.

Commits

  1. Settings option (twitchMode: warn default, hide).
  2. Red marking + warning in the content script, with tests for both modes and the settings page.
  3. Release 1.3.0: README, changelog, screenshots. Merging publishes v1.3.0 automatically.

Tests

npm test passes locally, including new checks: default mode, cards marked red but not hidden, click → warning before navigation, "Go back" / "Watch anyway", direct visit warning + red frame, non-GTA stream untouched, settings radio saved. Selectors are tested against fixtures, not live Twitch.


Generated by Claude Code

New "Twitch" section on the settings page with two modes, saved as
twitchMode:
- warn (default): mark GTA streams red and warn before opening one
- hide: remove GTA streams completely (the previous behaviour)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JwxKLiPRub6p8CfggHK7nR
In the default "warn" mode GTA streams are no longer silently removed:
- Stream cards, sidebar channels and category cards in any GTA category
  get a red frame, red tint and a "GTA" badge.
- Clicking a red stream shows a warning before the stream is opened
  ("Go back" stays on the list, "Watch anyway" opens it).
- Opening a GTA stream directly (link, new tab, streamer switching to GTA)
  shows the warning in front of the paused, muted player.
- "Watch anyway" is remembered per channel for the tab, and the stream
  keeps a red frame around the page while it is a GTA stream.

The "hide" mode keeps the old behaviour (remove cards, block the page).
Tests cover both modes and the settings page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JwxKLiPRub6p8CfggHK7nR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JwxKLiPRub6p8CfggHK7nR
@Backware Backware self-assigned this Nov 11, 2026
@Backware
Backware merged commit d18973b into main Nov 12, 2026
1 check passed
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.

2 participants