manifest.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "manifest_version": 3,
  3. "name": "DeNet",
  4. "description": "Growing more twitter followers with Denet",
  5. "version": "1.0.2",
  6. "background": {
  7. "service_worker": "/js/background.js"
  8. },
  9. "icons": {
  10. "16": "/logo/16.png",
  11. "32": "/logo/32.png",
  12. "48": "/logo/48.png",
  13. "128": "/logo/128.png"
  14. },
  15. "action": {
  16. "default_popup": "popup.html"
  17. },
  18. "content_scripts": [
  19. {
  20. "matches": [
  21. "https://*.twitter.com/*",
  22. "https://twitter.com/*"
  23. ],
  24. "run_at": "document_start",
  25. "js": [
  26. "/js/content.js"
  27. ]
  28. }
  29. ],
  30. "host_permissions": [
  31. "*://*.twitter.com/*",
  32. "*://twitter.com/*",
  33. "*://testh5.denetme.net/*",
  34. "*://h5.denetme.net/*",
  35. "*://preh5.denetme.net/*"
  36. ],
  37. "permissions": [
  38. "tabs",
  39. "action",
  40. "cookies",
  41. "activeTab",
  42. "scripting",
  43. "storage"
  44. ],
  45. "options_page": "options.html",
  46. "web_accessible_resources": [
  47. {
  48. "resources": [
  49. "/iframe/publish.html",
  50. "/iframe/red-packet.html",
  51. "/iframe/home.html"
  52. ],
  53. "matches": [
  54. "<all_urls>"
  55. ]
  56. }
  57. ]
  58. }