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
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
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
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
Ajay Ramachandran
7af44eae66
Category submission notice now works.
...
It still submits to the server without a category since the server-side is not done.
2020-04-04 22:06:59 -04:00
Ajay Ramachandran
bac9029a28
Switched skipping to use category settings.
...
Submission editing is now broken as well as clicking submit.
Skipping through multiple submissions just treats it as skipping from one (no multiple vote options).
2020-04-04 21:04:17 -04:00
Ajay Ramachandran
0d08e11b1d
Added basic time editing.
...
The button presses don't work yet as YouTube steals the events.
2020-04-01 20:06:46 -04:00
Ajay Ramachandran
37662138df
Increase precision in submission preview
2020-03-11 19:48:51 -04:00
Ajay Ramachandran
a182354254
Added basic react submission confirmation notice
2020-03-11 17:50:50 -04:00
Ajay Ramachandran
6159605afd
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into typescript
...
# Conflicts:
# public/_locales/en/messages.json
# src/config.ts
2020-02-08 22:19:07 -05:00
Ajay Ramachandran
6f03c68fdc
Change the way server address defaults are handled.
2020-02-08 21:30:57 -05:00
Ajay Ramachandran
1cd84d8a2c
Fixed Chrome Invidious CSS issues.
...
Apparently the chrome API doesn't work well with CSS.
Resolves https://github.com/ajayyy/SponsorBlock/issues/241
2020-02-08 18:23:08 -05:00
Joe Dowd
dd08ff1507
add custom server address
2020-02-07 00:40:01 +00:00
Ajay Ramachandran
46ffb330fc
Fix invidious enabling error
2020-02-04 02:15:06 -05:00
Ajay Ramachandran
96dab6b6b2
Renamed SB.js and setup types for the config.
2020-02-04 02:10:59 -05:00
Ajay Ramachandran
b0a23a5c4e
Converted options page to TypeScript
2020-02-03 22:34:43 -05:00
Ajay Ramachandran
23141aa624
Made the extension successfully build
2020-02-01 19:18:53 -05:00
Ajay Ramachandran
17381e7deb
Moved Utils away from a static class.
...
Moved Firefox content script registration to the background script.
Moved onInvidious to the content script.
2020-02-01 18:47:36 -05:00
Ajay Ramachandran
de66e21d14
Added support for the on page popup.
2020-02-01 17:36:02 -05:00