mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2026-03-23 20:37:07 +00:00
[PR #30] [MERGED] Update subscribe button #50
Labels
No labels
bug
bug
duplicate
enhancement
help wanted
invalid
not an issue
not an issue
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-browser-extension#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tubearchivist/browser-extension/pull/30
Author: @bakkot
Created: 11/3/2023
Status: ✅ Merged
Merged: 11/9/2023
Merged by: @bbilly1
Base:
master← Head:update-subscribe-button📝 Commits (6)
c570affRevert "delay buildChannelButton to account for UI refresh on YT"72c94fbbetter logic for updating the subscribe button on page navigationee6db25restore .eslintrc.js75848adfix infinite buttons4f54e1fflip getChannelHandle logic, remove unvisible title containersf8d69f5implement extract video id on hover📊 Changes
2 files changed (+101 additions, -54 deletions)
View changed files
📝
.eslintrc.js(+2 -0)📝
extension/script.js(+99 -54)📄 Description
Probably best to review the second commit individually; the first one is a
git revertofgithub.com/tubearchivist/browser-extension@aaa04a43b5so that the second one makes more sense.The idea is that whenever the
channelContainerelement is updated (per a MutationObserver) we check to see if the handle has changed, and if so replace the subscribe/download buttons with new buttons.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.