mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-25 17:08:42 +03:00
Merge pull request #244 from OfficialNoob/patch-5
Support options button when not in popup
This commit is contained in:
@@ -18,6 +18,9 @@ chrome.tabs.onUpdated.addListener(function(tabId) {
|
||||
|
||||
chrome.runtime.onMessage.addListener(function (request, sender, callback) {
|
||||
switch(request.message) {
|
||||
case "openConfig":
|
||||
chrome.runtime.openOptionsPage();
|
||||
return
|
||||
case "submitTimes":
|
||||
submitTimes(request.videoID, callback);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user