Ajay Ramachandran
963fb58321
Fixed endIndex not being used while skipping and made end index finding function recursive
2020-04-06 00:45:28 -04:00
Ajay Ramachandran
d1d4dcdc9c
Added migration for auto skip option
2020-04-06 00:40:30 -04:00
Ajay Ramachandran
5abc0bedd4
Fixed some non converted sponsorTimes code
2020-04-05 14:28:26 -04:00
Ajay Ramachandran
e1e570fb18
Made show only overlay work
2020-04-05 00:08:44 -04:00
Ajay Ramachandran
93c0a0c003
Give the user error messages from the server.
...
Helps with https://github.com/ajayyy/SponsorBlockServer/pull/70
2020-04-04 23:47:01 -04:00
Ajay Ramachandran
93f82de7fd
Moves submission error check into the proper place
2020-04-04 23:45:10 -04:00
Ajay Ramachandran
f6945b56d8
Fixed submitted sponsors and prevented preview sponsors from being voted on
2020-04-04 23:35:44 -04:00
Ajay Ramachandran
55e17ceb60
Fixed issues with manual skipping
2020-04-04 23:26:34 -04:00
Ajay Ramachandran
0115a6df13
Merge pull request #315 from Joe-Dowd/react
...
Audio notification on skip
2020-04-04 22:26:51 -04:00
Ajay Ramachandran
a5e9ceda60
Removed custom options code for audio
2020-04-04 22:25:10 -04:00
Ajay Ramachandran
09f53c80f0
Sync volume with video volume
2020-04-04 22:22:37 -04:00
Ajay Ramachandran
ebd6c9c952
Fixed error when preview bar updates
2020-04-04 22:12:54 -04:00
Ajay Ramachandran
37e2fb0972
Fixed react whitespace error
2020-04-04 22:11:39 -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
Joe Dowd
48a614943d
Merge branch 'react' into react
2020-04-04 18:44:05 +01:00
Ajay Ramachandran
ec9f1efd55
Added category skip option to just show an overlay without skipping
2020-04-04 12:58:02 -04:00
Joe-Dowd
d7a7476cd1
fixed tabbing
2020-04-04 14:01:31 +01:00
Joe-Dowd
36981af95a
Added audio notification on skip to options menu
2020-04-04 13:59:04 +01:00
Ajay Ramachandran
d4d5e4743e
Added key to sponsorTimeEditComponent
2020-04-02 22:14:52 -04:00
Ajay Ramachandran
3afde08a6e
Category selections now save
2020-04-02 22:13:36 -04:00
Ajay Ramachandran
6ea87d7cd0
Added basic category chooser UI
2020-04-02 21:26:13 -04:00
Ajay Ramachandran
b6c243236b
Submission notice now saves on submission
2020-04-02 14:38:33 -04:00
Ajay Ramachandran
6fa67088bc
Removed old edit pane from popup and made it call the new one
2020-04-02 13:22:08 -04:00
Ajay Ramachandran
5575eda7b1
Changed UI data to be store in strings for better UX
2020-04-02 01:29:12 -04:00
Ajay Ramachandran
e17eb60b4d
Added basic category selector to the UI
2020-04-02 01:25:06 -04:00
Ajay Ramachandran
e055a66342
Submission notice now updates when sponsors are added
2020-04-02 00:59:11 -04:00
Ajay Ramachandran
72c98923f6
Fixed close button on submission confirmation notice
2020-04-02 00:44:38 -04:00
Ajay Ramachandran
8ecea87c52
Added now button to editor
2020-04-01 20:38:10 -04:00
Ajay Ramachandran
7727cd56db
Save edits before previewing
2020-04-01 20:24:50 -04:00
Ajay Ramachandran
242fbf8009
Save edits correctly
2020-04-01 20:22:51 -04:00
Ajay Ramachandran
24f2ce4a32
Fixed event propagation issues
2020-04-01 20:19:31 -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
513a140754
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into react
...
# Conflicts:
# public/_locales/en/messages.json
# src/content.ts
2020-03-31 00:29:27 -04:00
Ajay Ramachandran
a9993d5d80
Added check for videoID change not being called
2020-03-30 20:08:00 -04:00
Ajay Ramachandran
4a6ddf6774
Remove mobile support announcement
2020-03-30 19:15:25 -04:00
Ajay Ramachandran
b6172c6d9b
Fixed sponsor skipping after quickly playing and pausing.
2020-03-30 19:07:59 -04:00
Ajay Ramachandran
b21a59f4e5
Fixed looping sometimes not skipping beginning sponsors.
...
Resolves https://github.com/ajayyy/SponsorBlock/issues/306
2020-03-30 15:33:03 -04:00
Ajay Ramachandran
0d33794636
Fixed almost zero second sponsors skipping a little too late.
2020-03-30 14:11:46 -04:00
Ajay Ramachandran
e62d46f2dd
Improved zero second skipping for directly loaded videos
2020-03-30 14:07:35 -04:00
Ajay Ramachandran
08d28798c6
Localised key errors
2020-03-26 12:30:06 -04:00
Ajay Ramachandran
fe33277d8f
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into restrict-keybindings
2020-03-26 12:27:06 -04:00
Ajay Ramachandran
feec5b4e22
Added spacing and separated code into a function
2020-03-26 12:26:47 -04:00
Ajay Ramachandran
62b5e90d87
Merge pull request #300 from Joe-Dowd/debug-output
...
Added copy debug information to clipboard options element.
2020-03-26 12:19:07 -04:00
Ajay Ramachandran
2c980a269d
Fixed sponsorTimes data on export and import
2020-03-26 12:18:52 -04:00
Ajay Ramachandran
ed67cc52fe
Fixed mobile YouTube starting sponsor detection that are not exactly 0 seconds.
2020-03-21 20:59:08 -04:00
Joe-Dowd
b614dce91a
Added more restricted characters
2020-03-20 19:55:29 +00:00
Joe-Dowd
c013c7ef0f
added N and i to the list of restricted characters
2020-03-20 19:50:38 +00:00
Joe-Dowd
c78e2cd214
Fixed mod keys when setting keybinding
2020-03-20 19:39:37 +00:00
Joe-Dowd
da5a3841bd
Added restrictions to keybindings.
2020-03-20 15:35:23 +00:00
Joe Dowd
e73d79071c
Added copy debug information to clipboard options element.
2020-03-18 00:15:04 +00:00
Ajay Ramachandran
f100ee4738
Made preview button functional
2020-03-11 19:56:16 -04:00
Ajay Ramachandran
37662138df
Increase precision in submission preview
2020-03-11 19:48:51 -04:00
Ajay Ramachandran
037d1089a3
Merge branch 'experimental' of https://github.com/ajayyy/SponsorBlock into react
2020-03-11 19:40:42 -04:00
Ajay Ramachandran
0467dd5d21
Made sure no skips are scheduled while paused
2020-03-11 19:39:08 -04:00
Ajay Ramachandran
1df123de6d
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into react
...
# Conflicts:
# public/_locales/en/messages.json
# src/js-components/skipNotice.ts
2020-03-11 19:36:41 -04:00
Ajay Ramachandran
3063591a4c
Added delete function to new dialog
2020-03-11 19:35:20 -04:00
Ajay Ramachandran
a182354254
Added basic react submission confirmation notice
2020-03-11 17:50:50 -04:00
Ajay Ramachandran
cc1b8ee499
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into experimental
2020-03-10 23:23:30 -04:00
Ajay Ramachandran
5595420be6
Removed redundant if statement
2020-03-10 23:22:57 -04:00
Ajay Ramachandran
191e9ceb6f
Makes sure the playing and play listener both don't get called at the same time.
...
This led to double notices.
2020-03-10 23:22:17 -04:00
Ajay Ramachandran
a02aef591e
Split notice text into a separate component
2020-03-10 12:57:26 -04:00
Ajay Ramachandran
1a92265e65
Made non timed notice the default
2020-03-10 12:08:54 -04:00
Ajay Ramachandran
92a6065c98
Added support for untimed notice
2020-03-10 03:08:15 -04:00
Ajay Ramachandran
d7ca56941a
Moved timing mechanism to separate component
2020-03-10 03:01:20 -04:00
Ajay Ramachandran
030256c9e1
Enable checkbox when the permission prompt is successful
2020-03-10 02:14:00 -04:00
Ajay Ramachandran
77eff12d9b
Merge pull request #261 from OfficialNoob/patch-1
...
Made decodeStoredItem detect item type
2020-03-10 01:21:10 -04:00
Ajay Ramachandran
f0bf051259
Properly ask for permissions when changing the server address
2020-03-10 00:48:53 -04:00
Ajay Ramachandran
2ec47d52cd
Added basic options import/export
2020-03-10 00:33:50 -04:00
Ajay Ramachandran
da6ccb561d
Fixed manual skip vote check using wrong variable
2020-03-09 23:04:01 -04:00
Ajay Ramachandran
c0894afff9
Prevent manual skipping votes from affecting to UI and happening when auto vote is off
2020-03-09 23:03:24 -04:00
Ajay Ramachandran
09f244150c
Fixed skipping for non zero second sponsors.
...
Also now using the playing event to fix issues with mobile YouTube skipping.
2020-03-09 23:00:39 -04:00
Ajay Ramachandran
c526a812e0
Made manual skip vote follow config
2020-03-09 22:50:07 -04:00
Ajay Ramachandran
ccbc0456f9
Made skip notice use react states
2020-03-09 21:51:44 -04:00
Ajay Ramachandran
e6ea9f77e9
Fixed skip scheduling for auto skip
2020-03-09 18:34:33 -04:00
Ajay Ramachandran
ff9b2338e0
Fixed scheduling being wrong when manual skip is enabled
2020-03-09 18:12:05 -04:00
Ajay Ramachandran
760c08dd0c
Prevent manual skips from triggering a view
2020-03-09 18:07:06 -04:00
Ajay Ramachandran
73e8926444
Start skip schedule from skip time to prevent slow video updates from breaking it.
2020-03-09 10:43:13 -04:00
Ajay Ramachandran
a484f2f2cc
Fixed double sponsor skip for zero second sponsors
2020-03-08 23:16:09 -04:00
Ajay Ramachandran
0241e15691
Only seek if the video is not paused
2020-02-28 15:06:08 -05:00
Ajay Ramachandran
5158020293
Potentially fixed zero second skip spam
2020-02-27 22:20:30 -05:00
Ajay Ramachandran
0d9b624fd5
Delete old skip notice
2020-02-25 00:43:20 -05:00
Ajay Ramachandran
008c9380b1
Switched notice to react
2020-02-25 00:38:03 -05:00
Ajay Ramachandran
737a023b65
Added mobile support message.
2020-02-23 20:39:13 -05:00
Ajay Ramachandran
5551344355
Fixed mobile notice zoom on Firefox
2020-02-23 16:14:18 -05:00
Ajay Ramachandran
1c7cde2a19
Changed to !==
2020-02-23 11:20:21 -05:00
cherryblossom
8510a7f3d8
Fix popup saying "0 sponsor"
2020-02-23 17:03:18 +11:00
Ajay Ramachandran
4ca57cc025
Fixed preview sponsors not skipping when only they are there.
2020-02-19 13:45:00 -05:00
Ajay Ramachandran
397bcc94c5
Remove redundant code
2020-02-19 13:35:05 -05:00
Ajay Ramachandran
ab2a9530e9
Sped up zero second sponsors a tiny bit
2020-02-19 12:41:22 -05:00
Ajay Ramachandran
bfc771bd99
Removed unused variables
2020-02-19 12:37:39 -05:00
Ajay Ramachandran
e75e588755
Sped up direct links a tiny bit.
2020-02-19 12:37:17 -05:00
Ajay Ramachandran
0266bb49ca
Fixed typo
2020-02-19 12:35:10 -05:00
Ajay Ramachandran
20e90bbc34
Fixed schedule not updating when new sponsors arrive
2020-02-19 00:54:30 -05:00
Ajay Ramachandran
2e212e6d10
Improved mobile preview bar
2020-02-19 00:14:08 -05:00
Ajay Ramachandran
2039bfa081
Made buttons on mobile not close the menu.
2020-02-19 00:10:05 -05:00
Ajay Ramachandran
7dc8a99247
Added button support to mobile.
2020-02-19 00:00:22 -05:00
Ajay Ramachandran
1b25ea7f95
Shrunk notice on mobile
2020-02-18 19:29:20 -05:00
Ajay Ramachandran
1869382166
Fixed popup issues.
2020-02-18 19:03:34 -05:00
Ajay Ramachandran
d58cd639c7
Added zero second preview sponsors.
2020-02-18 18:45:33 -05:00
Ajay Ramachandran
6cd2d4cf83
Added back whitelist support
2020-02-18 18:44:06 -05:00
Ajay Ramachandran
b681f5abd9
Added support for preview sponsors in new skipping method.
2020-02-18 18:43:45 -05:00
Ajay Ramachandran
5b2a0feccf
Switched to new skipping mechanic
2020-02-18 18:29:02 -05:00
Ajay Ramachandran
cd58f6bc73
Skip notice improvement.
2020-02-18 15:57:40 -05:00
Ajay Ramachandran
aeabf806ac
Added duration change listener check to prevent mid-video zero second skips.
...
Sometimes the video gets reset to zero seconds for a few milliseconds, this should not trigger a skip.
Resolves https://github.com/ajayyy/SponsorBlock/issues/183
2020-02-18 15:03:55 -05:00
Ajay Ramachandran
af7ba31c2f
Remove logging.
2020-02-18 14:40:40 -05:00
Ajay Ramachandran
219a7ba8c3
Added preview bar to mobile
2020-02-17 15:10:50 -05:00
Ajay Ramachandran
933babb4e6
Added mobile YouTube site to the whitelist.
2020-02-17 11:32:00 -05:00
Ajay Ramachandran
8d82a6a3e6
Fixed data old format migration.
2020-02-14 23:20:11 -05:00
Ajay Ramachandran
88a8fda566
Moved window.SB creation for security reasons.
2020-02-14 23:16:01 -05:00
CommanderRoot
3b543916ff
Retain decimals in seconds value
2020-02-12 02:24:03 +01:00
Ajay Ramachandran
2454cd9a39
Fixed regex to support Firefox.
2020-02-11 12:29:19 -05:00
Ajay Ramachandran
657aff2167
Removed use of Invidious API.
...
Resolves https://github.com/ajayyy/SponsorBlock/issues/189 .
2020-02-10 22:27:54 -05:00
Ajay Ramachandran
2450457fe5
Fixed close button on dark theme.
...
Resolves https://github.com/ajayyy/SponsorBlock/issues/196
2020-02-10 21:54:11 -05:00
Ajay Ramachandran
ba9e42e6f0
Forced auto skip if previewing sponsor.
...
Resolves https://github.com/ajayyy/SponsorBlock/issues/222
2020-02-10 21:49:17 -05:00
Ajay Ramachandran
f05d80523b
Made it unpause when previewing a sponsor.
...
Resolves https://github.com/ajayyy/SponsorBlock/issues/222
2020-02-10 21:39:39 -05:00
Ajay Ramachandran
d2779aba86
Fix editing not adding numbers.
...
Resolves https://github.com/ajayyy/SponsorBlock/issues/273 .
2020-02-10 18:03:09 -05:00
Ajay Ramachandran
852912a42b
Fixed inlines sponsor popup.
...
Fixes https://github.com/ajayyy/SponsorBlock/issues/272
2020-02-10 17:12:52 -05:00
Official Noob
995fe072bd
Merge pull request #1 from ajayyy/master
...
Update
2020-02-09 22:15:27 +00:00
Ajay Ramachandran
1753c05686
Fix Firefox infinite recursion issue.
2020-02-09 10:34:18 -05:00
Ajay Ramachandran
40cddbf8ee
Disabling auto skip now enables the notice.
2020-02-08 23:28:41 -05:00
Ajay Ramachandran
9026044528
Fixed preview sponsor times not turning into actual ones upon submission.
2020-02-08 23:16:44 -05:00
Ajay Ramachandran
50f293d783
Added better server address trimming.
2020-02-08 23:01:28 -05:00
Ajay Ramachandran
2b558c43bd
Removed subdomain requirement.
2020-02-08 22:55:59 -05:00
Ajay Ramachandran
b7e83a0efe
Added unlisted check option.
...
https://github.com/ajayyy/SponsorBlock/pull/224
Co-authored-by: OfficialNoob <OfficialNoob@users.noreply.github.com>
2020-02-08 22:43:27 -05: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
51d2886f70
Seperated show upload button option from info button.
2020-02-08 22:18:03 -05:00
Ajay Ramachandran
c2be1ee6d4
Added reset button to text change.
2020-02-08 22:03:45 -05:00
Ajay Ramachandran
1735cdb45d
Added server address input validation.
2020-02-08 21:58:50 -05:00
Ajay Ramachandran
be6cd62fbe
Rename string change option to more fitting name.
2020-02-08 21:42:15 -05:00
Ajay Ramachandran
6f03c68fdc
Change the way server address defaults are handled.
2020-02-08 21:30:57 -05:00
Ajay Ramachandran
8cdbebd6de
Added the config as a global variable.
2020-02-08 20:16:26 -05:00
Ajay Ramachandran
94af8ab301
Prevent all strings from being parsed as JSON.
2020-02-08 20:15:49 -05:00
Ajay Ramachandran
be3a4a4e91
Added support for old format.
2020-02-08 20:08:34 -05:00
Ajay Ramachandran
3791c5c78b
Fixed JSON conversion iterator
2020-02-08 20:05:31 -05:00
Joe Dowd
6bd22896b9
Merged Lartza/min-duration
2020-02-09 01:02:40 +00:00
Ajay Ramachandran
ea4331e4b1
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into typescript
...
# Conflicts:
# src/config.ts
2020-02-08 19:31:18 -05:00
Ajay Ramachandran
afe16e6623
Improved confirm message.
2020-02-08 19:27:38 -05:00
Ajay Ramachandran
4a96a52398
Fixed multiple sponsors being hidden.
2020-02-08 19:19:27 -05:00
Ajay Ramachandran
4e1eb82538
Fixed typescript issues.
2020-02-08 19:10:04 -05:00
Ajay Ramachandran
885fae175d
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into min-duration
...
# Conflicts:
# SB.js
# src/options.ts
2020-02-08 19:09:17 -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
Ajay Ramachandran
08c7754f29
Fixed skip count resetting.
...
Resolves https://github.com/ajayyy/SponsorBlock/issues/256
2020-02-08 17:50:06 -05:00
Ajay Ramachandran
5f21d3f96f
Default UUIDs to an empty list instead of null.
...
Resolves https://github.com/ajayyy/SponsorBlock/issues/252 .
2020-02-08 17:45:22 -05:00
Ajay Ramachandran
158b76c17e
Fixed incorrect type.
2020-02-06 20:10:35 -05:00
Joe Dowd
3455a79298
Removed console.log calls
2020-02-07 00:57:24 +00:00
Joe Dowd
dd08ff1507
add custom server address
2020-02-07 00:40:01 +00:00
Official Noob
1c17464c94
config => defaults
2020-02-04 23:29:11 +00:00
Official Noob
8896c5707a
Made decodeStoredItem detect item type
...
Not tested because SB.config cant be used anymore :(
2020-02-04 22:16:40 +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
f6f416b899
Fixed direct link channel whitelisting
2020-02-04 00:13:38 -05:00
Ajay Ramachandran
3582f45fd8
Fixed skip notice references fixing manual skip notices.
2020-02-04 00:05:03 -05:00
Ajay Ramachandran
13cef5ff14
Remove invidious message
2020-02-03 23:40:44 -05:00
Ajay Ramachandran
4049d2d1ab
Fixed keybind not working
2020-02-03 23:39:41 -05:00
Ajay Ramachandran
b0a23a5c4e
Converted options page to TypeScript
2020-02-03 22:34:43 -05:00
Ajay Ramachandran
5bb5dae20e
Added config types and added back handler to proxy
2020-02-03 14:11:52 -05:00
Ajay Ramachandran
bb9de35722
Fixed naming issue
2020-02-02 18:26:43 -05:00
Ajay Ramachandran
4907be7738
Fixed maps not being handled properly
2020-02-01 19:25:40 -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
4bd410f04e
Made the skip notice work with TypeScript.
2020-02-01 18:17:48 -05:00
Ajay Ramachandran
20a09d3d27
Fixed type errors.
2020-02-01 17:51:42 -05:00
Ajay Ramachandran
7716827a98
Fixed incorrect import.
2020-02-01 17:40:12 -05:00
Ajay Ramachandran
070a51954a
Fixed channel ID promise
2020-02-01 17:38:58 -05:00
Ajay Ramachandran
de66e21d14
Added support for the on page popup.
2020-02-01 17:36:02 -05:00
Ajay Ramachandran
932cf8ecf1
Fixed SBMap not importing entries.
2020-02-01 16:53:33 -05:00
Ajay Ramachandran
4a491f1ebf
Moved server code to utils
2020-02-01 16:41:08 -05:00
Ajay Ramachandran
16c720e500
Setup new config.json and fixed typescript errors in the popup
2020-02-01 16:26:57 -05:00
Ajay Ramachandran
d77f8abf42
Converted more code to TypeScript.
2020-01-28 23:52:15 -05:00
Ajay Ramachandran
03836b69f2
Started conversion to TypeScript.
2020-01-28 22:16:48 -05:00