Skip to content

4.4.1: fix counts after in-app navigation, Odometer digits, real screenshots - #22

Merged
mgcountss merged 4 commits into
mainfrom
release-4.4.1
Nov 13, 2026
Merged

mgcountss merged 4 commits into
mainfrom
release-4.4.1

Conversation

@mgcountss

Copy link
Copy Markdown
Contributor

Changes

  • 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, and the hidden channel header was being painted instead of the video's count. Only on-screen elements of the URL's page type are used now. Regression test in scripts/e2e.mjs.
  • Counts roll with HubSpot's Odometer, bundled from npm by the build into every package, the userscript and assets/odometer.js (site). It never assigns innerHTML, so it works under YouTube's Trusted Types and AMO's linter stays at one warning.
  • Userscript gets @noframes.
  • Store and website screenshots are real captures from YouTube with the extension (npm run screenshots). npm run assets no longer draws mock screenshots.
  • Real AMO add-on ID in package.json; version 4.4.1.

Testing

  • npm run lint, npm run test:smoke, npm run test:e2e: all pass.
  • Live youtube.com: extension in Chromium; userscript in Google Chrome, Firefox, WebKit and Safari 26.6; Firefox package via web-ext run. Channel and watch pages, search sort, live streams, tooltips, counter, race and popup all work.
  • Rapid in-app switching (channel, video, Back, Forward at 40–440 ms): previously failed 5 of 14 bursts, now 0 in every engine.
  • Website in Chromium, Chrome, Firefox, WebKit and Safari at desktop and 375px width.

AJ DiBasilio 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.
@mgcountss
mgcountss merged commit ba973ab into main Nov 13, 2026
2 checks 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.

1 participant