mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 19:47:04 +03:00
Added basic time submission code
This commit is contained in:
@@ -22,11 +22,17 @@ chrome.runtime.onMessage.addListener( // Detect URL Changes
|
||||
sponsorMessageStarted();
|
||||
}
|
||||
|
||||
if (request.message === 'infoFound') {
|
||||
if (request.message === 'isInfoFound') {
|
||||
sendResponse({
|
||||
found: sponsorDataFound
|
||||
})
|
||||
}
|
||||
|
||||
if (request.message === 'getVideoID') {
|
||||
sendResponse({
|
||||
videoID: getYouTubeVideoID(document.URL)
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
function sponsorsLookup(id) {
|
||||
|
||||
Reference in New Issue
Block a user