Commit graph

1065 commits

Author SHA1 Message Date
Nikita Krupin
42511cb667 popup.html code cleanup & simplification 2022-05-02 22:26:51 -04:00
Nikita Krupin
e4dd0f1ac6 popup styling requested adjustments 2022-05-02 21:22:25 -04:00
Alec Rust
463ce258bf
Fix @typescript-eslint/no-unused-vars lint warnings 2022-04-23 15:44:21 +01:00
Ajay
0c216792cf Don't show duplicate skip notices 2022-04-23 00:10:46 -04:00
Ajay
dd447297f9 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock 2022-04-22 22:17:27 -04:00
Ajay
1a908b5038 Add tooltips to vote buttons in popup 2022-04-22 22:17:25 -04:00
Ajay Ramachandran
aa88ab1985
Merge pull request #1237 from AlecRust/refine-popup
Improve popup alert and fix Firefox issues
2022-04-22 15:26:30 -04:00
Ajay
b075116502 Make it show skip right away instead of unskip on mute segments
Fixes #1075
2022-04-22 15:18:58 -04:00
Ajay
9e02e35c4d Keep skip notice open for full duration of mute segments 2022-04-22 02:41:27 -04:00
Ajay
d7e67fb397 Add skip button to mute segment notices
Fixes #1075
2022-04-22 02:33:07 -04:00
Ajay
f2172bb2ad Don't show never show when already hidden 2022-04-21 21:33:22 -04:00
Ajay
c773b4ecd1 Enter unskip with skip notice hidden 2022-04-21 21:28:25 -04:00
Ajay
9f02bf4ce2 Show both chapter names when small chapter in big chapter 2022-04-21 14:54:57 -04:00
Ajay Ramachandran
9bad5ed324
Merge pull request #1291 from mchangrh/userInfo-isVip
remove lastIsVipUpdate from config
2022-04-19 18:48:49 -04:00
Michael C
93bb016b4f
remove lastIsVipUpdate from config 2022-04-19 18:45:48 -04:00
Ajay Ramachandran
8c901d5bad
Merge pull request #1290 from mchangrh/userInfo-isVip
reuse userinfo for isVip and remove lastIsVipUpdate
2022-04-19 18:45:36 -04:00
Michael C
ac533c612c
reuse userinfo for isVip and remove lastIsVipUpdate 2022-04-19 18:41:06 -04:00
mini-bomba
e3f6242e5f
Start playback of edited segment at it's end when it starts 0:00 2022-04-15 22:31:46 +02:00
Alec Rust
d937a2ae59
Remove unnecessary flexbox usage 2022-04-15 16:12:15 +01:00
Alec Rust
9b4c4afa35
Hide "consider force channel check" alert when removed from whitelist 2022-04-15 16:12:15 +01:00
Ajay
8aa10605c5 Refresh segments when submitting 2022-04-12 10:35:25 -04:00
Ajay
44421c4b5d Refresh segments on config change 2022-04-12 10:29:44 -04:00
Ajay
6325d3539c Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2022-04-11 01:26:39 -04:00
Ajay Ramachandran
ae7f1f228f
fix toggle to always remove 2022-04-09 11:56:56 -04:00
Nanobyte
d353f3b677 Add beta server warning to popup
#1275
2022-04-09 16:22:39 +02:00
Michael C
0d34e643c7
fix #1236 2022-04-08 22:36:44 -04:00
Michael C
88f60c0e84
close #1265 2022-04-08 22:03:00 -04:00
Ajay Ramachandran
0d31b8276c
Merge pull request #1250 from zedseven/channel-id-lookup-optimisations
Improve the channel ID lookup.
2022-03-28 15:43:59 -04:00
Ajay
b15a8db651 Fix close skips not overlapping 2022-03-28 15:33:15 -04:00
Zacchary Dempsey-Plante
9f1f9f84d4
Improve the channel ID lookup. 2022-03-26 23:09:24 -04:00
Ajay Ramachandran
0cdbcfc97e
Merge pull request #1228 from AlecRust/refine-popup
Fix popup width and improve close button
2022-03-18 19:29:56 -04:00
Ajay
e20011ce08 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock 2022-03-17 22:19:22 -04:00
Ajay
e30bccd2b7 Don't use virtual time on firefox 2022-03-17 22:19:21 -04:00
Alec Rust
c0cfa3a683
Fix "You've saved" and "You've skipped" not being on separate lines
Screenshot: https://i.imgur.com/VqeXMmS.png
2022-03-17 17:53:33 +00:00
Alec Rust
f7510eea88
Improve close popup button 2022-03-17 17:50:06 +00:00
Stopper
15c73d7940
Fix guidelines link 2022-03-17 22:24:00 +06:00
Ajay
d4544a7c47 Fixes for safari 2022-03-17 00:27:36 -04:00
Ajay
1acda5fe0a Improve precision on chromium using predicted virtual time 2022-03-16 16:17:44 -04:00
Ajay
21d4f0487c Fix skip notice behind controls on mobile youtube
Fix #1229
2022-03-16 13:30:20 -04:00
Ajay Ramachandran
9477ad425c
Merge branch 'master' into chapters 2022-03-12 16:56:53 -05:00
Alec Rust
ced30c711e
Refactor segment expanding to use <details> 2022-03-12 12:03:33 +00:00
Michael C
924c777736
ignore body if cloudflare error found 2022-03-11 23:52:30 -05:00
Ajay Ramachandran
405fb342f0
Merge pull request #1218 from MRuy/userinfo
Get user infos from userInfo api for popup
2022-03-10 10:24:11 -05:00
Ajay
c76f241b63 Formatting 2022-03-10 10:23:35 -05:00
Ajay
54013681ef Ask for specific values 2022-03-10 10:22:53 -05:00
Michael C
7c747e6566
custom error handler for 5xx 2022-03-10 02:31:19 -05:00
Nanobyte
effac2449a Get user infos from userInfo api for popup 2022-03-05 23:52:44 +01:00
Ajay
a1caf8fbdb Switch hotkeys to not use array 2022-02-27 20:17:19 -05:00
Ajay
f81cfbecfe Add functions for importing/exporting segments 2022-02-26 01:07:29 -05:00
Ajay
eb35f5c543 Don't display existing chapters twice 2022-02-24 21:53:45 -05:00
Ajay Ramachandran
3d51c4eb53
Merge pull request #1192 from asportnoy/master
fix: ignore switchingVideos in Safari
2022-02-24 14:34:16 -05:00
Áron Hegymegi-Kiss
0e5606423e fix alt-tab in chrome 2022-02-24 18:34:04 +01:00
Ajay
7d8188d575 Add importing chapters for cases with unsubmitted segments 2022-02-24 02:21:22 -05:00
Ajay
00ab317a3e Fix active segments when no real segments 2022-02-24 02:06:00 -05:00
Ajay
0536d419e5 Hide YouTube chapters from popup 2022-02-23 01:39:53 -05:00
Ajay
4d5c9005ae Fix stackoverflow 2022-02-23 01:37:19 -05:00
Ajay
0513a36a9a Fix chapters getting imported multiple times 2022-02-23 01:30:07 -05:00
Ajay
1ec184048c Fix chapter sorting 2022-02-23 01:24:15 -05:00
Ajay
2b811c5ab4 Include unsubmitted in active segment label 2022-02-23 01:12:19 -05:00
Ajay
ea91701430 Improve chapter generation performance by reusing elements
Also ensure large segments don't break chapter bar
2022-02-23 01:06:08 -05:00
Ajay
9654fabc3c remove old todo 2022-02-22 21:34:27 -05:00
Ajay
2ebc5489cd Load existing chapters 2022-02-22 21:22:30 -05:00
Ajay
cf3b3c5c48 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2022-02-22 01:34:12 -05:00
Ajay
84a234f9b6 Fix full video saving old times
Fix #1198
2022-02-22 01:21:18 -05:00
Ajay
30fe40a523 Fix minimum duration
Fix #1202
2022-02-22 01:05:57 -05:00
Ajay
6e23650a99 Add category pill right away
Fix #1199
2022-02-22 01:01:27 -05:00
Ajay
930bc113fe Add sort segments button 2022-02-21 11:17:58 -05:00
Ajay
7aaa28b5c2 Fix transition issue 2022-02-21 01:02:23 -05:00
Ajay
bd3976e4c6 Add option to not render as chapters 2022-02-21 00:29:13 -05:00
Ajay
4e5a883d2e Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2022-02-20 18:37:18 -05:00
Albert Portnoy
64d2c0a299
fix: ignore switchingVideos in Safari (see #1142) 2022-02-13 22:09:22 -06:00
Áron Hegymegi-Kiss
60b0a59ba1 keybind fix 2022-02-12 16:19:28 +01:00
Ajay
c9903b5926 Don't use setinterval on safari 2022-02-09 15:28:02 -05:00
Ajay
e622ee725c remove logging 2022-02-08 19:59:33 -05:00
Ajay
5ace92dc8b Use current video time if performance.now is restricted (fingerprinting) 2022-02-08 19:47:42 -05:00
Ajay
bb490bf7ad perfomance instead of date 2022-02-08 16:04:23 -05:00
Ajay
4cc248eb17 Improve precision of skips on both chromium and firefox
< 5ms in my testing
2022-02-08 15:46:38 -05:00
Michael C
7f75929d81
hide inspect & edit on Full Video actionType 2022-02-07 18:26:44 -05:00
Ajay
43699c1875 Add unsubmitted segments after deleting old variable 2022-02-07 17:38:39 -05:00
Ajay
c64c5125fb Fix broken icons and centering 2022-02-07 11:13:27 -05:00
Ajay
cbb8d48820 Add option to disable tracking downvotes and clear when disabled 2022-02-07 10:58:47 -05:00
Ajay
e65642237f Don't save dislikes for VIP 2022-02-07 10:38:05 -05:00
Ajay
8c60f25d4a Don't save downvotes in incognito 2022-02-06 23:20:01 -05:00
Ajay
4d60dec7f9 Save downvotes and segment hides in local storage 2022-02-06 23:17:34 -05:00
Ajay
53d0ac8677 Add animation to segment hiding 2022-02-06 21:08:15 -05:00
Ajay
e4ba67999c Add segment hiding in popup 2022-02-06 21:03:39 -05:00
Ajay
0b6ade4a1d Improve typing on getHash 2022-02-06 20:01:19 -05:00
Ajay
816e9a78be Add local storage options to config 2022-02-06 19:17:20 -05:00
Ajay
ccb0e8bed9 Fix parameters not optional 2022-02-06 18:55:27 -05:00
Ajay
8b6f0d8a2e Better title text for full video labels 2022-02-06 18:48:03 -05:00
Ajay
cf792e849f remove log 2022-02-06 18:19:42 -05:00
Ajay
fce82b48b0 Add popup donation prompt 2022-02-06 18:12:58 -05:00
Ajay
c66e624c16 Delete unused unsubmitted objects 2022-02-06 17:01:14 -05:00
Ajay
199ccb1b12 Move segment times from encoded array to normal js object 2022-02-06 15:10:46 -05:00
Ajay
32fa9c3398 Hide segments when voting from the popup 2022-02-06 14:04:54 -05:00
Ajay
9c836a89a3 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into misc-fix 2022-02-06 13:42:58 -05:00
Ajay Ramachandran
b21b6edb0c
semicolon 2022-02-06 13:39:37 -05:00
Ajay Ramachandran
f5301fc374
Merge pull request #1168 from mchangrh/youtubeClip
early return if url is youtube clips url
2022-02-06 13:22:52 -05:00
Ajay
2575141d35 Don't load segments from url multiple times 2022-02-06 13:13:08 -05:00
Michael C
48124e56d6
early return if url is youtube clips url 2022-02-06 01:05:19 -05:00
Ajay
e8307a2af7 Add text color based off luminance for full video label 2022-02-05 22:23:11 -05:00
Michael C
86e5ef7523
merge only one 2022-01-27 15:02:07 -05:00
Michael C
0451dcd975
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into misc-fix 2022-01-27 14:56:47 -05:00
Michael C
ba7d46dd73
add mediaSession, remove bindMediaKey 2022-01-27 14:52:13 -05:00
Ajay
fa926ef686 Don't hide exclusive access for min duration
Fix #1156
2022-01-27 11:36:26 -05:00
Michael C
876b55dcc1
add bindMediaKey to options 2022-01-27 01:43:40 -05:00
Michael C
6d0d533fa7
force listen for mediaKeys 2022-01-27 00:53:30 -05:00
Michael C
9457aff44f
linting + audio override 2022-01-26 17:54:58 -05:00
Michael C
193374db30
substr -> slice 2022-01-26 17:54:35 -05:00
Áron Hegymegi-Kiss
b02e4c1b4f missing localization 2022-01-26 22:32:15 +01:00
Ajay
aac2572b4e Add live update for dark mode 2022-01-24 23:38:44 -05:00
Ajay
8452bfb32a lightmode -> dark mode 2022-01-24 23:33:27 -05:00
Ajay
e87ec3842b fix merge issue 2022-01-24 23:28:51 -05:00
Ajay Ramachandran
595cb84941
Merge branch 'master' into settings 2022-01-24 23:27:52 -05:00
Ajay
8d5f244d2f Dark mode unless explicitely disabled (sorry) 2022-01-24 23:27:00 -05:00
Ajay
963ead0a30 Fix weird scrolling on help page 2022-01-24 22:59:43 -05:00
Ajay
28a711de75 use addeventlistener 2022-01-24 22:58:52 -05:00
Ajay
96cefeaaf3 Remove stick header on help page 2022-01-24 20:53:36 -05:00
Ajay
e1de84dce3 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2022-01-21 20:20:27 -05:00
Ajay
7f2b1c60c7 Only display single action type for full video 2022-01-21 20:20:17 -05:00
Ajay
46983bec24 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2022-01-21 20:18:42 -05:00
Ajay
c542cd9f73 Save times when accidentally switching to exclusive access 2022-01-21 19:37:14 -05:00
Ajay
7e091d1c67 Remove sponsor lookup retries 2022-01-21 18:39:07 -05:00
Ajay
6a07a9f693 Use new Poi action type fetch method 2022-01-21 18:38:04 -05:00
Ajay Ramachandran
c34d1e0bc1
Merge branch 'master' into settings 2022-01-21 12:28:47 -05:00
Ajay
9da99688d3 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock 2022-01-20 16:03:43 -05:00
Ajay
9bcee6afce Remove 502 retry logic 2022-01-20 16:03:41 -05:00
Ajay
41a8b2718a Remove deleted import 2022-01-19 11:30:04 -05:00
Ajay
002f22c040 Wait for hover preview using mutation observer 2022-01-19 11:27:19 -05:00
Ajay
bf735f47b0 Fix reference node order to fix issue with player-container always being visible 2022-01-19 10:57:28 -05:00
Michael C
e4aa7efd3c
add infinite wait for hover preview 2022-01-19 01:47:43 -05:00
Michael C
b210b22af3
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into videoPreviewButtons 2022-01-18 14:30:29 -05:00
Ajay
e2d56d32fe Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2022-01-16 15:58:09 -05:00
Ajay
b6c1ee1743 Don't allow submissions on active premieres or livestreams
Fix #523
Fix #367
2022-01-16 13:56:57 -05:00
Ajay
6b6ca6198f Don't schedule skips for full video segments 2022-01-16 01:17:49 -05:00
Michael C
059a674ae1
fix hover preview segments 2022-01-15 22:49:22 -05:00
Ajay
a45bd4c5c7 Fix potential null issue 2022-01-15 18:28:53 -05:00
Ajay
d50a69f1fd New hash format for previewing segments 2022-01-14 19:34:54 -05:00
Ajay
31014b78ac Add method to create segments from url parameters 2022-01-14 19:21:09 -05:00
Ajay
cf01679f16 null check for skip notice 2022-01-14 14:57:46 -05:00
Ajay
16f4ab53b6 Don't warn about minimum duration for full video
Fix #1133
2022-01-14 11:51:51 -05:00
Ajay
0fdb76ffe0 Hide time from exclusive access right away 2022-01-14 00:03:21 -05:00
Ajay
e2ba5c2063 Make wiki link go to specific page and fix crash when submitting 2022-01-13 23:56:15 -05:00
Ajay
917e644822 Add exclusive access category 2022-01-13 23:44:09 -05:00
Ajay
c986860a42 Add close button to category pill 2022-01-13 22:55:08 -05:00
Áron Hegymegi-Kiss
881cea4f6d refine settings usragent check 2022-01-13 19:13:08 +01:00
Áron Hegymegi-Kiss
83db64d084 address isssues for pull request 2022-01-09 21:28:30 +01:00
Ajay
0da8a34e7a Add title element for category pill on updated youtube 2022-01-08 15:22:21 -05:00
Áron Hegymegi-Kiss
ed17d4859f Merge remote-tracking branch 'origin/master' into settings
# Conflicts:
#	public/options/options.html
#	src/config.ts
#	src/content.ts
#	src/options.ts
2022-01-08 19:30:49 +01:00
Áron Hegymegi-Kiss
dc560cd73e import/export settings to file 2022-01-08 19:03:46 +01:00