aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/background.ts
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2021-01-17 13:00:27 -0500
committerAjay Ramachandran <[email protected]>2021-01-17 13:00:27 -0500
commit2fcfc989cf739ee3c4756b6bd5bad8fc2f710932 (patch)
tree06bdbb178002b147b1e49d05b199fa7ecb2b7cc5 /src/background.ts
parent7bb8f446bffbab9ecf6b8ee790653960d1d72928 (diff)
downloadSponsorBlock-2fcfc989cf739ee3c4756b6bd5bad8fc2f710932.tar.gz
SponsorBlock-2fcfc989cf739ee3c4756b6bd5bad8fc2f710932.zip
Remove unsubmitted notification
Diffstat (limited to 'src/background.ts')
-rw-r--r--src/background.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/background.ts b/src/background.ts
index e9643667..ea011576 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -52,16 +52,6 @@ chrome.runtime.onMessage.addListener(function (request, sender, callback) {
//this allows the callback to be called later
return true;
- case "alertPrevious":
- if (Config.config.unsubmittedWarning) {
- chrome.notifications.create("stillThere" + Math.random(), {
- type: "basic",
- title: chrome.i18n.getMessage("wantToSubmit") + " " + request.previousVideoID + "?",
- message: chrome.i18n.getMessage("leftTimes"),
- iconUrl: "./icons/LogoSponsorBlocker256px.png"
- });
- }
- break;
case "registerContentScript":
registerFirefoxContentScript(request);
return false;