Commit Graph

57 Commits

Author SHA1 Message Date
Simon 7b40dc44c2
fix checkVideoExists, check siblings in getNearestLink 2024-05-13 21:53:45 +02:00
Vladimir Pouzanov c82e493628
Relocate the injected button to the h3 element (#37) 2024-05-11 22:00:29 +07:00
Simon ca15cc9c0b
fix channel page selector 2024-05-01 22:23:41 +02:00
Ritiek Malhotra 761030ca55
Show checkmark for already downloaded currently playing videos (#35)
Looks like this was regressed from v0.2.1 to v0.2.2 in this commit sha:
f8d69f5883

Already downloaded video currently playing in YouTube were still
showing the download icon instead of checkmark icon in TA.

This commit should fix this.
2024-05-02 02:20:34 +07:00
Simon f8d69f5883
implement extract video id on hover 2023-11-09 18:21:43 +07:00
Simon 4f54e1f863
flip getChannelHandle logic, remove unvisible title containers 2023-11-08 18:01:50 +07:00
Kevin Gibbons 75848ad4eb fix infinite buttons 2023-11-04 21:39:03 -07:00
Kevin Gibbons 72c94fbe99 better logic for updating the subscribe button on page navigation 2023-11-03 09:05:42 -07:00
Kevin Gibbons c570aff66d Revert "delay buildChannelButton to account for UI refresh on YT"
This reverts commit aaa04a43b5.
2023-11-03 09:00:39 -07:00
Simon aaa04a43b5
delay buildChannelButton to account for UI refresh on YT 2023-11-03 12:05:17 +07:00
Simon 976fefbf89
better fail to get TA info log message 2023-11-02 20:30:17 +07:00
Simon 35186c09ca
skip empty href container link building 2023-11-02 20:25:15 +07:00
Gautam krishna R 160580a2a6
updated the subscribe button styling to match the new youtube ui (#29)
* updated the  subscribe button styling to match new youtube ui

* added code watch page subscribe button
2023-11-02 20:11:25 +07:00
Simon 5406007315
add dl button to shorts results 2023-10-31 16:59:38 +07:00
Simon 79a002956b
reduce single button size 2023-10-31 16:48:58 +07:00
Simon f5f919dfef
fix video id extraction for url with additional query params 2023-10-19 10:25:10 +07:00
Simon fd87615cdc
use current location for channel download url 2023-09-03 11:20:31 +07:00
Simon c79c0cc408
prevent double eventlistener 2023-08-26 22:51:21 +07:00
Simon f3064f32b1
implement open in TA 2023-08-26 22:39:37 +07:00
Simon 1306dbd6fa
handle button error 2023-08-26 20:14:27 +07:00
Simon ef89daf1a1
set unsubscribe inner text after subscribe 2023-08-26 17:38:39 +07:00
Simon 7c47c980f3
implement channel handle id map cache 2023-08-26 17:34:58 +07:00
Simon adde4c51c0
check channel subscribed 2023-08-25 19:28:42 +07:00
Simon 4112501900
rename channelSubButton 2023-08-25 18:47:43 +07:00
Simon 114548d362
better dl button naming 2023-08-25 18:46:29 +07:00
Simon 1fed4c32e2
restructure functions 2023-08-25 18:44:11 +07:00
Simon f9feee70d1
refactor channel buttons 2023-08-25 17:42:43 +07:00
Simon bf1c47843f
better video button title 2023-08-25 15:37:07 +07:00
Simon cd5e9a8c0a
better events 2023-08-24 21:48:34 +07:00
Simon c3079d81ff
download video 2023-08-24 21:40:23 +07:00
Simon 004067a1f7
implement checkVideoExists 2023-08-24 21:20:15 +07:00
Simon 10ecdaee23
trigger button clear when url changes 2023-08-24 18:52:39 +07:00
Simon f0ec9e23a7
mv video dl button in title container 2023-08-24 11:49:00 +07:00
simon 2cc5cfc17d
finetune button positioning and margin 2023-03-02 17:58:56 +07:00
Kevin Gibbons 9528a347e0
Refactor message passing and surface errors to users (#18)
* refactor message passing between popup/background

* surface errors to user in popup.js

* move logic into background.js

* split youtube message

* handle errors from URL constructor
2023-02-20 10:24:27 +07:00
simon 6da4662007
linter... linter... 2023-01-13 11:41:14 +07:00
simon 9d75b13886
add link text to title for channel dl button 2023-01-12 23:35:51 +07:00
simon 55ef05cc2a build links for shorts videos 2023-01-12 22:55:51 +07:00
Kevin Gibbons a2e167c9cf fix title 2022-12-02 21:28:28 -08:00
Kevin Gibbons b19b09bb84 make download button on thumbnail easier to find 2022-12-02 21:14:55 -08:00
Kevin Gibbons 9c535d27e6 manually fix remaining lint errors 2022-12-02 18:57:04 -08:00
Kevin Gibbons ee7da0e726 auto-fix lint 2022-12-02 18:52:33 -08:00
Kevin Gibbons 64d29b5a4f format 2022-12-02 18:52:08 -08:00
simon d3e647d0cf
fix video button overlap, #10 2022-12-02 14:17:56 +07:00
simon 030fb2d223
move currentLocation into event listener 2022-11-29 20:05:06 +07:00
simon 59709c4c29
timeout reset button text after click 2022-11-25 19:14:52 +07:00
simon e87468900c
throttle block for observer 2022-11-24 16:16:03 +07:00
simon 30f80ca01a
implement button press callback 2022-11-24 15:39:05 +07:00
simon 4f0452cf5f
fix /watch mouseover dl link 2022-11-24 09:00:41 +07:00
simon a0e4a10f1f
sendUrl from injected button 2022-11-24 08:36:22 +07:00