Added a sponsor time preview.

It skips 2 seconds before the start time so you can preview how it feels.

Also increased the space between the times and the clear times button.

Resolves https://github.com/ajayyy/SponsorBlock/issues/66
This commit is contained in:
Ajay Ramachandran
2019-08-12 12:21:20 -04:00
parent e281b90699
commit 3f815a18c4
3 changed files with 46 additions and 11 deletions

View File

@@ -119,6 +119,10 @@ function messageListener(request, sender, sendResponse) {
})
}
if (request.message == "skipToTime") {
v.currentTime = request.time;
}
if (request.message == "getChannelURL") {
sendResponse({
channelURL: channelURL