manifest-chrome.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "Return YouTube Dislike",
  3. "description": "Returns ability to see dislikes",
  4. "version": "2.0.0.3",
  5. "manifest_version": 3,
  6. "background": {
  7. "service_worker": "ryd.background.js"
  8. },
  9. "icons": {
  10. "48": "icons/icon48.png",
  11. "128": "icons/icon128.png"
  12. },
  13. "host_permissions": ["*://*.youtube.com/*"],
  14. "permissions": [
  15. "storage"
  16. ],
  17. "action": {
  18. "default_popup": "popup.html"
  19. },
  20. "content_scripts": [
  21. {
  22. "matches": [
  23. "*://youtube.com/*",
  24. "*://www.youtube.com/*",
  25. "*://m.youtube.com/*"
  26. ],
  27. "exclude_matches": ["*://*.music.youtube.com/*"],
  28. "js": ["bundled-content-script.js"],
  29. "css": ["content-style.css"]
  30. },
  31. {
  32. "matches": ["*://*.returnyoutubedislike.com/debug","http://localhost/debug"],
  33. "js": ["debug.js"]
  34. }
  35. ],
  36. "externally_connectable": {
  37. "matches": ["*://*.youtube.com/*"]
  38. },
  39. "web_accessible_resources": [
  40. {
  41. "resources": ["ryd.script.js"],
  42. "matches": ["*://*.youtube.com/*"]
  43. }
  44. ]
  45. }