mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 04:27:15 +03:00
Sync Video ID with Storage API
This commit is contained in:
@@ -179,11 +179,12 @@ document.onkeydown = function(e){
|
||||
}
|
||||
|
||||
function videoIDChange(id) {
|
||||
//not a url change
|
||||
if (sponsorVideoID == id){
|
||||
return;
|
||||
}
|
||||
|
||||
//not a url change
|
||||
if (sponsorVideoID == id) return;
|
||||
|
||||
chrome.storage.sync.set({videoid: id});
|
||||
|
||||
//close popup
|
||||
closeInfoMenu();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user