manifest.json 689 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "浏览器扩展",
  3. "description": "这是一段简介",
  4. "version": "1.0",
  5. "manifest_version": 3,
  6. "icons": {
  7. "64": "icon/64.png",
  8. "128": "icon/128.png",
  9. "192": "icon/192.png"
  10. },
  11. "externally_connectable": {
  12. "matches": [
  13. "*://go.mtab.cc/*"
  14. ]
  15. },
  16. "background": {
  17. "service_worker":"src/background.js"
  18. },
  19. "permissions": [
  20. "bookmarks",
  21. "background",
  22. "activeTab",
  23. "cookies"
  24. ],
  25. "action": {
  26. "default_icon": "icon/64.png",
  27. "default_title": "浏览器扩展样板"
  28. },
  29. "host_permissions": [
  30. "*://go.mtab.cc/*",
  31. "*://*.baidu.com/*"
  32. ],
  33. "chrome_url_overrides": {
  34. "newtab": "dist/index.html"
  35. }
  36. }