manifest.json 864 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "manifest_version": 2,
  3. "name" :"NoSpoil for Youtube",
  4. "version" :"1.0",
  5. "description" :"Disable comments when there are potential spoilers",
  6. "browser_action": {
  7. "default_icon": "img/no_spoil128.png",
  8. "default_title": "NoSpoil",
  9. "default_popup": "popup/popup.html"
  10. },
  11. "options_ui": {
  12. "page": "options/options.html",
  13. "chrome_style": true
  14. },
  15. "icons": {
  16. "16": "img/no_spoil16.png",
  17. "48": "img/no_spoil48.png",
  18. "128": "img/no_spoil128.png"
  19. },
  20. "background": {
  21. "scripts": ["background/background.js"]
  22. },
  23. "permissions": ["contentSettings", "contextMenus", "storage"],
  24. "content_scripts": [
  25. {
  26. "matches": ["http://*.youtube.com/*", "https://*.youtube.com/*"],
  27. "js": ["content-scripts/comment.js"],
  28. "css": ["content-scripts/youtube.css"],
  29. "run_at": "document_start"
  30. }
  31. ]
  32. }