Repository navigation
4.4.1: fix counts after in-app navigation, Odometer digits, real screenshots - #22
Merged
Merged
Conversation
added 4 commits
November 13, 2026 14:12
…enshots - Fix: opening a video from a channel page, or switching quickly between videos and channels, could leave YouTube's rounded count under the video. YouTube keeps the previous page hidden in the DOM; only on-screen count elements of the URL's page type are used now. Regression test added. - Counts roll with HubSpot's Odometer (bundled from npm by the build into every package, the userscript and assets/odometer.js for the website), with no innerHTML writes so it works under YouTube's Trusted Types. - Userscript gets @noframes, matching the extension's top-frame-only script. - Store and website screenshots are captured from real YouTube with the extension (npm run screenshots); render-assets no longer draws mock-ups. Site hero, alt texts, listing copy and popup examples quote real counts. - Real AMO add-on ID in package.json; version 4.4.1.
Xcode 27's safari-web-extension-converter ignores --bundle-identifier for the app target (it derives com.mgcounts.Return-YouTube-Subscribers from the app name), so the build failed with "Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier". It also set the project's minimum macOS to the build machine's (26.6). Both are pinned now: the configured bundle ID, and macOS 12.0.
App Store Connect rejects uploads without LSApplicationCategoryType. Use the listing's primary category, Social Networking.
Answers App Store Connect's export-compliance question for every build.
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.
Changes
scripts/e2e.mjs.assets/odometer.js(site). It never assignsinnerHTML, so it works under YouTube's Trusted Types and AMO's linter stays at one warning.@noframes.npm run screenshots).npm run assetsno longer draws mock screenshots.package.json; version 4.4.1.Testing
npm run lint,npm run test:smoke,npm run test:e2e: all pass.web-ext run. Channel and watch pages, search sort, live streams, tooltips, counter, race and popup all work.