manifest.json 872 B

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