Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrii Selivanov <selivano.d@gmail.com>2022-07-20 00:57:20 +0300
committerGitHub <noreply@github.com>2022-07-20 00:57:20 +0300
commit08e3f7beb640c7670bccefd21f9b00aa5a5eb813 (patch)
tree8dcb37e0f1f4c9b17df5dec02a146339fc8ca82a
parent8d9e66c87f7a3ad86cbac3255db02b047ee2cf71 (diff)
parentf41d668e75552adccbcdbc68ec9dd0f0998c14c7 (diff)
Merge pull request #649 from bershanskiy/patch-1
Handle onInstalled.reason "chrome_update"
-rw-r--r--Extensions/combined/ryd.background.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/Extensions/combined/ryd.background.js b/Extensions/combined/ryd.background.js
index 75f22ae..48f57d0 100644
--- a/Extensions/combined/ryd.background.js
+++ b/Extensions/combined/ryd.background.js
@@ -77,6 +77,8 @@ api.runtime.onInstalled.addListener((details) => {
if (
// No need to show changelog if its was a browser update (and not extension update)
details.reason === "browser_update" ||
+ // Chromium (e.g., Google Chrome Cannary) uses this name instead of the one above for some reason
+ details.reason === "chrome_update" ||
// No need to show changelog if developer just reloaded the extension
details.reason === "update"
)