Commit graph

1521 commits

Author SHA1 Message Date
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