Commit Graph

1698 Commits

Author SHA1 Message Date
Ajay Ramachandran
a812b16da5 Fix centering on cloudtube 2021-04-08 19:04:11 -04:00
Ajay Ramachandran
4020cdc4f2 Support CloudTube 2021-04-08 18:42:13 -04:00
Ajay Ramachandran
5cf6719681 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into improvements 2021-04-08 17:58:50 -04:00
Ajay Ramachandran
0a587ed98b Fix button visibility for highlight category and always show upload button 2021-04-07 21:44:42 -04:00
Ajay Ramachandran
a08dbf4da1 Add submitting for highlight category 2021-04-05 23:35:05 -04:00
Ajay Ramachandran
edcda31db4 Raise z index of notice to be in front of endcards 2021-04-01 21:15:11 -04:00
Ajay Ramachandran
a10d7c338c Add preview category
Closes https://github.com/ajayyy/SponsorBlock/issues/444
2021-03-30 22:50:36 -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
3ff5fdb3a1 Prompt to accept youtube.com permission if video info fails to load
Should fix #698, #687, #611 and #635
2021-03-24 20:13:33 -04:00
Ajay Ramachandran
2681dc1890 Submit video duration 2021-03-20 11:50:15 -04:00
caneleex
ca3732315c remove unnecessary additional css 2021-03-12 11:23:25 +01:00
caneleex
3c50f70b3b add uuid copy button to the popup 2021-03-11 18:34:29 +01: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
50aee79f32 Add hours to popup time 2021-02-20 15:55:56 -05:00
opl-
3879cc6de3 Clean up segment creation code
Noteworthy changes:
- Adds ability to cancel creating a segment
- Makes segment creation fully the responsibility of the content script, with the popup script buttons simply doing RPC
- Adds types to the Utils.wait function
- Fixes segment timestamps backwards if user marks segment end earlier than the start
- Makes the info menu (in-page popup) workaround clearer and easier to remove in the future.
2021-02-20 15:52:13 +01:00
Ajay Ramachandran
cad77aef8e Add missing status code from known list 2021-02-18 21:30:09 -05:00
Ajay Ramachandran
3927fe5630 Lower retry frequency 2021-02-18 21:23:00 -05:00
Ajay Ramachandran
7b65b73711 Increase notice z index
Resolves #642
2021-02-14 20:12:45 -05:00
Ajay Ramachandran
e3b0be23a7 Show decimals in popup 2021-02-14 14:27:59 -05:00
Ajay Ramachandran
d1a7209d69 Switch from round to floor 2021-02-14 14:22:28 -05:00
Ajay Ramachandran
2fdd43f96f Enable hash prefix by default
Closes https://github.com/ajayyy/SponsorBlock/issues/529
2021-02-09 18:48:13 -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
44571a67d9 Fix segments being deleted 2021-01-31 12:03:54 -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
551355d21a Made countdown timer better support video playback speeds 2021-01-17 14:39:29 -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
ff0dc6e570 Never move old skip notice
Partially resolves https://github.com/ajayyy/SponsorBlock/issues/505
2021-01-17 13:10:33 -05:00
Ajay Ramachandran
209e42578f Fix eslint warnings 2021-01-17 13:01:57 -05:00
Ajay Ramachandran
2fcfc989cf Remove unsubmitted notification 2021-01-17 13:00:27 -05:00
Ajay Ramachandran
7bb8f446bf Fix type issues 2021-01-17 12:56:37 -05:00
Ajay Ramachandran
7307340afa Remove empty unsubmitted segments
Resolves https://github.com/ajayyy/SponsorBlock/issues/609
2021-01-17 12:53:31 -05:00
Nanobyte
87a7f85c24 Change segment list layout in popup 2020-12-31 20:59:12 +01:00
Ajay Ramachandran
2808b76655 Made youcap notice more general 2020-12-31 14:57:11 -05:00
Ajay Ramachandran
ece66522e5 Shrink youcap text on Firefox 2020-12-30 21:46:05 -05:00
Ajay Ramachandran
3ac68aa313 Revert "Add notice about YouCap"
This reverts commit e95029c229.
2020-12-29 23:06:50 -05:00
Ajay Ramachandran
e95029c229 Add notice about YouCap 2020-12-29 22:51:00 -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
bd12ccb6f4 Merge pull request #589 from ajayyy/fix-mobile
Fix mobile support
2020-12-24 12:32:34 -05:00
Max Baumann
0e32042634 refactor(lint): replace self-equals-this code with arrow functions 2020-12-24 11:59:24 +01: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