manifest.json 844 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "manifest_version": 3,
  3. "name": "脚本助手",
  4. "version": "1.1.18",
  5. "description": "脚本助手",
  6. "icons": {
  7. "16": "./img/16.png",
  8. "48": "./img/48.png",
  9. "128": "./img/128.png"
  10. },
  11. "action": {
  12. "default_icon": "img/48.png",
  13. "default_title": "脚本助手",
  14. "default_popup": "popup.html"
  15. },
  16. "background": {
  17. "service_worker": "background.js"
  18. },
  19. "content_scripts": [
  20. {
  21. "matches": ["<all_urls>"],
  22. "js": ["insert.js"],
  23. "all_frames": true,
  24. "run_at": "document_end"
  25. }
  26. ],
  27. "permissions": [
  28. "storage",
  29. "background",
  30. "activeTab",
  31. "webRequest",
  32. "declarativeNetRequest",
  33. "notifications"
  34. ],
  35. "optional_host_permissions": [
  36. "*://*/*"
  37. ],
  38. "host_permissions": [
  39. "*://*/*"
  40. ],
  41. "homepage_url": "https://github.com/PUGE",
  42. "options_page": "options.html",
  43. "options_ui": {
  44. "page": "options.html"
  45. }
  46. }