manifest.json 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "manifest_version": 3,
  3. "name": "脚本助手",
  4. "version": "2.0.0",
  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", "content-script.js"],
  23. "all_frames": true,
  24. "run_at": "document_start"
  25. }
  26. ],
  27. "permissions": [
  28. "scripting",
  29. "storage",
  30. "activeTab",
  31. "webRequest",
  32. "notifications"
  33. ],
  34. "host_permissions": [
  35. "http://*/*",
  36. "https://*/*"
  37. ],
  38. "externally_connectable": {
  39. "matches": [
  40. "https://demos.run/*",
  41. "https://cunchu.site/*"
  42. ]
  43. },
  44. "homepage_url": "https://github.com/PUGE",
  45. "options_page": "options.html",
  46. "options_ui": {
  47. "page": "options.html",
  48. "open_in_tab": true
  49. }
  50. }