Commit Graph

118 Commits

Author SHA1 Message Date
Ajay Ramachandran
56bc3fca04 Hide skip to highlight right away when dismissing 2021-10-05 20:06:18 -04:00
Ajay Ramachandran
2064afb235 Make hiding highlight button smooth 2021-09-30 18:15:06 -04:00
Ajay Ramachandran
ebcb600e99 Auto hide skip to highlight 2021-09-30 00:43:10 -04:00
Ajay Ramachandran
b3336a218e Make help page localisable and make up to date
Closes https://github.com/ajayyy/SponsorBlock/issues/509
2021-08-20 02:00:15 -04:00
Ajay Ramachandran
e126b59078 Added skip button in control bar instead of using skip notice 2021-08-18 02:07:24 -04:00
Ajay Ramachandran
8b348a2aeb Rename highlight category to poi_highlight 2021-08-17 22:05:19 -04:00
Ajay Ramachandran
4e99754b8c Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into improvements 2021-08-17 18:25:18 -04:00
Ajay Ramachandran
f01a1ae4ec Never show negative formatted time 2021-08-13 23:19:08 -04:00
Ajay Ramachandran
9c54d141e9 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into improvements 2021-07-31 01:02:41 -04:00
Ajay Ramachandran
839dd4613c Get username for warning chat 2021-07-29 19:29:34 -04:00
Ajay Ramachandran
1a855a6993 Add basic chat box when getting a warning 2021-07-29 18:16:44 -04:00
Ajay Ramachandran
324c28b867 remove log 2021-07-27 13:21:03 -04:00
Ajay Ramachandran
797c9d67e4 Switch back to es6 2021-07-15 14:09:10 -04:00
Ajay Ramachandran
528b475429 Fix quotations not working in localisation 2021-07-14 15:28:38 -04:00
Ajay Ramachandran
b8cbedbc4d Add animation to copy button
Closes https://github.com/ajayyy/SponsorBlock/issues/796
2021-07-13 18:22:56 -04:00
Ajay Ramachandran
d458bb0cdf Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into improvements
# Conflicts:
#	src/components/SkipNoticeComponent.tsx
#	src/config.ts
#	src/content.ts
2021-06-30 21:27:21 -04:00
Ajay Ramachandran
e80b7afe80 Add initial unlisted detection for getting a list of unlisted videos
A temporary measure which will be removed next month

https://support.google.com/youtube/answer/9230970
2021-06-23 21:09:59 -04:00
Ajay Ramachandran
5fbb8c0d4a Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into improvements
# Conflicts:
#	manifest/manifest.json
#	src/components/SponsorTimeEditComponent.tsx
#	src/config.ts
#	src/content.ts
#	src/types.ts
2021-05-22 01:28:24 -04:00
Ajay Ramachandran
18d10ada5e Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into pr/opl-/569 2021-05-16 20:29: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
Ajay Ramachandran
a08dbf4da1 Add submitting for highlight category 2021-04-05 23:35:05 -04: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
8de4f904a5 Merge pull request #650 from ajayyy/improvements
Improvements
2021-03-07 14:23:28 -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
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
67f2798672 Add error message from server when voting 2021-01-26 21:57:43 -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
Max Baumann
0e32042634 refactor(lint): replace self-equals-this code with arrow functions 2020-12-24 11:59:24 +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
b6b109b226 Convert \n in localized strings to <br/> for html 2020-12-15 14:03:01 -05:00
Max Baumann
5d0559aebd refactor: remove dead code, add more types 2020-12-14 23:37:35 +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
dde6b44005 chore(types): strongly type BackgroundScriptContainer et al 2020-12-13 20:48:09 +01:00
Max Baumann
d80dad7963 fix(types): change wrong type of 'types' 2020-12-13 20:29:23 +01:00
Max Baumann
e2ef7412a4 refactor(lint): fix trivial linting errors 2020-12-12 23:58:34 +01:00
Max Baumann
36558f5460 refactor(lint): apply automatic eslint fixes 2020-12-12 22:57:41 +01:00
opl-
cb5e770014 Add support for commas in the time editor
Makes numpad input easier on some locales.
2020-11-08 06:13:09 +01:00
opl-
618f8a52f7 Use formatted time inputs for segment editing
Additionally, removes unused util functions and saves the edits on changes to update the preview immediately
2020-11-07 22:28:55 +01:00
Dainius Daukševičius
5bc12e52f3 remove js-sha256 dependency, use native hashing function 2020-10-15 20:15:11 +03:00
Joe Dowd
40d522694d Added has prefix implementation (no config page) 2020-09-04 00:05:41 +01:00
Ajay Ramachandran
4d55a71619 Fixed minutes not displaying zero when hours are displayed 2020-07-18 22:19:13 -04:00
Ajay Ramachandran
2d74ce2093 Added hours to time with skips 2020-07-12 18:52:36 -04:00
Ajay Ramachandran
c69047c7f9 Show short names when hovering the preview bar 2020-07-03 21:16:38 -04:00
Ajay Ramachandran
77abc1d031 Reuse existing functions 2020-07-03 19:44:15 -04:00
Ajay Ramachandran
ca2727655e Added customizable seek bar colors 2020-06-03 20:20:02 -04:00
Ajay Ramachandran
39155fdf99 Moved requests to the background script.
This should avoid ad blockers messing with requests.

Helps with https://github.com/ajayyy/SponsorBlock/issues/354
2020-05-24 22:42:55 -04:00
Ajay Ramachandran
8a6488f082 Added migration code for whitelisted channelIDs vs URLs 2020-04-26 18:07:10 -04:00
Ajay Ramachandran
ae690f0c65 Renamed new request function 2020-04-09 14:03:13 -04:00
Ajay Ramachandran
cd03218940 Now uses new GET api when testing server is enabled 2020-04-09 01:19:00 -04:00