diff --git a/Extensions/combined/icons.zip b/Extensions/combined/icons.zip deleted file mode 100644 index 19240a7..0000000 Binary files a/Extensions/combined/icons.zip and /dev/null differ diff --git a/Extensions/combined/manifest.json b/Extensions/combined/manifest.json index fc60ec9..19f12c2 100644 --- a/Extensions/combined/manifest.json +++ b/Extensions/combined/manifest.json @@ -2,26 +2,40 @@ "name": "Return YouTube Dislike", "description": "Returns ability to see dislikes", "version": "2.0.0.2", - "manifest_version": 2, + "manifest_version": 3, "background": { - "scripts": ["ryd.background.js"] + "service_worker": "ryd.background.js" }, "icons": { "48": "icons/icon48.png", - "128": "icons/icon128.png" + "128": "icons/icon128.png" }, - "permissions": ["activeTab", "*://*.youtube.com/*", "storage"], - "browser_action": { + "host_permissions": ["*://*.youtube.com/*"], + "permissions": [ + "storage" + ], + "action": { "default_popup": "popup.html" }, "content_scripts": [ { - "matches": ["*://*.youtube.com/*"], + "matches": [ + "*://youtube.com/*", + "*://www.youtube.com/*", + "*://m.youtube.com/*" + ], "exclude_matches": ["*://*.music.youtube.com/*"], - "run_at": "document_idle", - "css": ["content-style.css"], - "js": ["ryd.content-script.js", "ryd.tools.js", "/init/init.js"] + "js": ["ryd.content-script.js", "ryd.tools.js", "/init/init.js"], + "css": ["content-style.css"] + } + ], + "externally_connectable": { + "matches": ["*://*.youtube.com/*"] + }, + "web_accessible_resources": [ + { + "resources": ["ryd.script.js"], + "matches": ["*://*.youtube.com/*"] } ] - } diff --git a/Extensions/combined/manifestv2.json b/Extensions/combined/manifestv2.json new file mode 100644 index 0000000..fc60ec9 --- /dev/null +++ b/Extensions/combined/manifestv2.json @@ -0,0 +1,27 @@ +{ + "name": "Return YouTube Dislike", + "description": "Returns ability to see dislikes", + "version": "2.0.0.2", + "manifest_version": 2, + "background": { + "scripts": ["ryd.background.js"] + }, + "icons": { + "48": "icons/icon48.png", + "128": "icons/icon128.png" + }, + "permissions": ["activeTab", "*://*.youtube.com/*", "storage"], + "browser_action": { + "default_popup": "popup.html" + }, + "content_scripts": [ + { + "matches": ["*://*.youtube.com/*"], + "exclude_matches": ["*://*.music.youtube.com/*"], + "run_at": "document_idle", + "css": ["content-style.css"], + "js": ["ryd.content-script.js", "ryd.tools.js", "/init/init.js"] + } + ] + +} diff --git a/Extensions/combined/manifestv3.json b/Extensions/combined/manifestv3.json deleted file mode 100644 index 19f12c2..0000000 --- a/Extensions/combined/manifestv3.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "Return YouTube Dislike", - "description": "Returns ability to see dislikes", - "version": "2.0.0.2", - "manifest_version": 3, - "background": { - "service_worker": "ryd.background.js" - }, - "icons": { - "48": "icons/icon48.png", - "128": "icons/icon128.png" - }, - "host_permissions": ["*://*.youtube.com/*"], - "permissions": [ - "storage" - ], - "action": { - "default_popup": "popup.html" - }, - "content_scripts": [ - { - "matches": [ - "*://youtube.com/*", - "*://www.youtube.com/*", - "*://m.youtube.com/*" - ], - "exclude_matches": ["*://*.music.youtube.com/*"], - "js": ["ryd.content-script.js", "ryd.tools.js", "/init/init.js"], - "css": ["content-style.css"] - } - ], - "externally_connectable": { - "matches": ["*://*.youtube.com/*"] - }, - "web_accessible_resources": [ - { - "resources": ["ryd.script.js"], - "matches": ["*://*.youtube.com/*"] - } - ] -}