Repository navigation
Conversation
This branch has not been deployed
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.
Summary
data.subscribersonly whensuccess === trueand the count is a non-negative integer.NextCounts API documentation
Verification
npm run lintandnpm run checkpassed with the existing Firefox for Android manifest warning. I inspected the built Chrome, Firefox, and Safari ZIPs for the retired host and checked their host permissions.Mocked
npm run test:smokepassed for the unpacked Chromium extension and for the userscript in Chromium, Firefox, and WebKit with NextCounts v3 unavailable.npm run test:e2epassed for participating and nonparticipating channels and for a realtime HTTP 503. It checks the source tooltip on both channel and watch pages, accepts zero, rejects invalid counts and non-success responses, and verifies directory reuse and filtering.Live
I loaded the unpacked Chromium extension on fixture channel and watch pages with live, anonymous requests to NextCounts and Mixerno. The v3 directory and realtime endpoints returned HTTP 200 for Natop Shorts, and both pages displayed its YouTube Studio source tooltip. The official YouTube channel was absent from the directory and received a Mixerno estimate with its estimate tooltip on both pages. A separate request to that channel's Studio realtime endpoint returned HTTP 404.