Commit Graph

229 Commits

Author SHA1 Message Date
Ajay Ramachandran
fbcff7f4c4 Change video info fetch error message 2021-05-16 17:31:58 -04:00
Ajay Ramachandran
11144fa77b Only ask for permission once 2021-05-12 17:00:31 -04:00
Ajay Ramachandran
bf84139ea7 Prompt to accept youtube.com permission if video info fails to load
Should fix #698, #687, #611 and #635

(cherry picked from commit 3ff5fdb3a1)
2021-05-10 16:22:46 -04:00
Manual
719010db97 Don’t throw an exception if there’s no videoRoot
Suggested change by @ajayyy

Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2021-03-27 00:08:02 +02:00
Manual
928c075416 fix exception when on youtube.com/tv 2021-03-26 12:00:47 +02:00
Ajay Ramachandran
8de4f904a5 Merge pull request #650 from ajayyy/improvements
Improvements
2021-03-07 14:23:28 -05:00
LJ
f48e1895db Fix the videoRoot to also work on invidious embeds
The root div of the player is not `#player-container` in invidious embeds but just `#player`.
2021-03-04 15:26:25 +02:00
Ajay Ramachandran
9474424a1e make popup icons consistent 2021-02-22 22:17:23 -05:00
Ajay Ramachandran
3927fe5630 Lower retry frequency 2021-02-18 21:23:00 -05:00
Evan Gubarev
026858509a Fixed getFormattedTime sometimes returning (NaN:NaN) (#643)
* Fixed getFormattedTime sometimes returning (NaN:NaN)

getFormattedTime() with nothing passed into it and a couple other edge cases returned (NaN:NaN). This is a problem since on a slow machine getFormattedTime get called without anything passed into it around the time the computer is fetching the timing data. I haven't found the exact spot / place it is called wrongly, but this should fix it. I've have a slow machine so it's really been bugging me seeing (NaN:NaN) for a couple seconds before the page fully loads. Hopefully this should fix it.
2021-02-07 13:09:01 -05:00
Ajay Ramachandran
54b4681fc3 Fix invidious support
Fixes https://github.com/ajayyy/SponsorBlock/issues/636
2021-02-03 18:28:50 -05:00
Ajay Ramachandran
4f50ead08d Log returned data when video info failed to load 2021-01-27 22:27:23 -05:00
Ajay Ramachandran
67f2798672 Add error message from server when voting 2021-01-26 21:57:43 -05:00
Ajay Ramachandran
41fee58ab9 Increase fetch frequency 2021-01-26 21:09:28 -05:00
Ajay Ramachandran
e269b1aec6 Add skip keybind
https://github.com/ajayyy/SponsorBlock/issues/299
2021-01-17 14:25:45 -05:00
Ajay Ramachandran
2fcfc989cf Remove unsubmitted notification 2021-01-17 13:00:27 -05:00
Ajay Ramachandran
edbbb9022b Don't filter segments 2020-12-24 12:43:21 -05:00
Ajay Ramachandran
73b81424b1 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into feat/preview-bar-cleanup
# Conflicts:
#	src/content.ts
#	src/js-components/previewBar.ts
2020-12-24 12:41:40 -05:00
Ajay Ramachandran
979e7e7629 Fix mobile support 2020-12-22 01:10:57 -05:00
Ajay Ramachandran
cba0fc0a87 Merge pull request #580 from ajayyy/category-list
Lock category order and show all categories + more
2020-12-20 18:51:57 -05:00
Nanobyte
bc10690304 Ensure correct start- endtime order
#585
2020-12-20 22:48:38 +01:00
Ajay Ramachandran
8dd9a79aa5 Merge branch 'master' into category-list 2020-12-20 14:39:03 -05:00
Max Baumann
1d7dab6ea0 Merge master 2020-12-18 18:35:26 +01:00
Ajay Ramachandran
c30038fd26 Merge pull request #578 from FoseFx/fosefx-eslint-fix
Fix eslint warnings
2020-12-17 13:20:48 -05:00
Ajay Ramachandran
5ac5b557b0 Fix manual skip going into directly adjacent segment
Resolves #531
2020-12-16 01:19:54 -05:00
Ajay Ramachandran
90d53a34b5 Move unlisted check request to background script
Resolves #566
2020-12-15 21:34:29 -05:00
Max Baumann
c0d910decd refactor: more types and dead code removal 2020-12-15 19:54:33 +01:00
Max Baumann
cd4f5fc667 refactor(types): add strong types to messages 2020-12-15 19:37:48 +01:00
Max Baumann
094ef84f15 refactor(types): add StorageChangesObject type 2020-12-15 14:24:29 +01:00
Max Baumann
b7ea5689c7 refactor(types): add VideoInfo interface 2020-12-15 13:33:38 +01:00
Max Baumann
7756a89960 refactor: remove more unused variables 2020-12-15 12:58:44 +01:00
Ajay Ramachandran
bd51f5b621 Listen to custom videospeed event
https://github.com/igrigorik/videospeed/pull/740
2020-12-14 22:26:27 -05:00
Ajay Ramachandran
dbee744bd7 Potential fix for video replaying after browser stutters on Firefox.
Hopefully resolves #525
2020-12-14 22:05:53 -05:00
Ajay Ramachandran
120642667d Rename timestamp to segment 2020-12-14 17:24:35 -05:00
opl-
b47a71c000 Remove unused popup related code 2020-12-14 20:16:45 +01:00
opl-
7078e1f033 Clean up Preview Bar
Fixes:
- Segments hidden by longer segments
- Duration with skips not accounting for segment overlaps
- Duration with skips not accounting for user's skip choices
- Segment category text in preview tooltip overlaps the seek bar
- Segment category text in preview tooltip breaks for timestamps over one hour
- `previewBar.ts` lacks function argument and return types
- Tooltip label not cleaned up on remove
- General code style issues
2020-12-14 19:58:00 +01:00
Max Baumann
fd4452a078 chore(lint): apply eslint auto-fix 2020-12-14 11:10:41 +01:00
Max Baumann
c3f32aae26 Merge branch 'master' of github.com:ajayyy/SponsorBlock into fosefx-eslint 2020-12-14 11:08:56 +01:00
Ajay Ramachandran
57e6268fc7 Merge pull request #440 from mbledkowski/master
Design change of popup.html
2020-12-14 01:01:23 -05:00
Ajay Ramachandran
0253016871 Popup code cleanup 2020-12-14 00:57:15 -05:00
Max Baumann
7b27de279b chore(types): even more types 2020-12-13 21:11:23 +01:00
Max Baumann
d80dad7963 fix(types): change wrong type of 'types' 2020-12-13 20:29:23 +01:00
Max Baumann
36558f5460 refactor(lint): apply automatic eslint fixes 2020-12-12 22:57:41 +01:00
SuspiciousActivity
942f889360 Fix: segment at the start not skipping 2020-11-08 20:18:26 +01:00
Ajay Ramachandran
637dcbee00 Fix background colour in popup 2020-10-26 00:08:32 -04:00
Dainius Daukševičius
5bc12e52f3 remove js-sha256 dependency, use native hashing function 2020-10-15 20:15:11 +03:00
Ajay Ramachandran
31d4c621d1 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into mbledkowski 2020-10-14 23:09:26 -04:00
SuspiciousActivity
34bcb120e5 Fix: skipping to the end of looped videos #426 2020-10-07 00:26:19 +02:00
mmble
e3fb851713 Merge branch 'master' of github.com:ajayyy/SponsorBlock 2020-09-23 20:22:27 +02:00
mmble
7fecf2a8d4 Small fix 2020-09-22 19:26:14 +02:00