mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 10:52:20 +01:00
3.0.0.3
This commit is contained in:
1 parent
8e376f6142
commit
61c3757d1f
3 files changed
+15
-15
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "__MSG_extensionName__",
|
"name": "__MSG_extensionNameBeta__",
|
||||||
"description": "__MSG_extensionDesc__",
|
"description": "__MSG_extensionDesc__",
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"version": "3.0.0.1",
|
"version": "3.0.0.3",
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"background": {
|
"background": {
|
||||||
"service_worker": "ryd.background.js"
|
"service_worker": "ryd.background.js"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "__MSG_extensionName__",
|
"name": "__MSG_extensionName__",
|
||||||
"description": "__MSG_extensionDesc__",
|
"description": "__MSG_extensionDesc__",
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"version": "3.0.0.0",
|
"version": "3.0.0.3",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"background": {
|
"background": {
|
||||||
"scripts": ["ryd.background.js"]
|
"scripts": ["ryd.background.js"]
|
||||||
@@ -28,13 +28,12 @@
|
|||||||
"css": ["content-style.css"],
|
"css": ["content-style.css"],
|
||||||
"js": ["ryd.content-script.js"]
|
"js": ["ryd.content-script.js"]
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
// uncomment this section for local storage to work in firefox locally
|
// uncomment this section for local storage to work in firefox locally
|
||||||
,
|
"browser_specific_settings": {
|
||||||
"browser_specific_settings": {
|
"gecko": {
|
||||||
"gecko": {
|
"id": "addon@example.com",
|
||||||
"id": "addon@example.com",
|
"strict_min_version": "42.0"
|
||||||
"strict_min_version": "42.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -80,11 +80,13 @@ api.runtime.onInstalled.addListener((details) => {
|
|||||||
details.reason === "chrome_update" ||
|
details.reason === "chrome_update" ||
|
||||||
// No need to show changelog if developer just reloaded the extension
|
// No need to show changelog if developer just reloaded the extension
|
||||||
details.reason === "update"
|
details.reason === "update"
|
||||||
)
|
) {
|
||||||
return;
|
return;
|
||||||
api.tabs.create({
|
} else if (details.reason == "install") {
|
||||||
url: api.runtime.getURL("/changelog/3/changelog_3.0.html"),
|
api.tabs.create({
|
||||||
});
|
url: api.runtime.getURL("/changelog/3/changelog_3.0.html"),
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// api.storage.sync.get(['lastShowChangelogVersion'], (details) => {
|
// api.storage.sync.get(['lastShowChangelogVersion'], (details) => {
|
||||||
@@ -370,7 +372,6 @@ function initializeColoredThumbs() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function initializeColoredBar() {
|
function initializeColoredBar() {
|
||||||
api.storage.sync.get(["coloredBar"], (res) => {
|
api.storage.sync.get(["coloredBar"], (res) => {
|
||||||
if (res.coloredBar === undefined) {
|
if (res.coloredBar === undefined) {
|
||||||
|
|||||||
Reference in new issue
Block a user