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:
Diffstat (limited to 'Extensions/combined/ryd.background.js')
-rw-r--r--Extensions/combined/ryd.background.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/Extensions/combined/ryd.background.js b/Extensions/combined/ryd.background.js
index 53d8ae9..18eb0fa 100644
--- a/Extensions/combined/ryd.background.js
+++ b/Extensions/combined/ryd.background.js
@@ -74,6 +74,10 @@ api.runtime.onMessage.addListener((request, sender, sendResponse) => {
}
});
+api.runtime.onInstalled.addListener(() => {
+ api.tabs.create({url: api.runtime.getURL("/changelog/3/changelog_3.0.html")});
+})
+
async function sendVote(videoId, vote) {
api.storage.sync.get(null, async (storageResult) => {
if (!storageResult.userId || !storageResult.registrationConfirmed) {
@@ -362,6 +366,7 @@ function initializeColorTheme() {
}
});
}
+
function initializeNumberDisplayFormat() {
api.storage.sync.get(["numberDisplayFormat"], (res) => {
if (res.numberDisplayFormat === undefined) {