manifest.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "manifest_version": 3,
  3. "name": "脚本助手",
  4. "version": "2.0.5",
  5. "description": "联系邮箱: mail@puge.org",
  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": ["https://listado.mercadolibre.com.mx/*"],
  22. "css": ["./plug/standard.css"],
  23. "js": ["./plug/star.js", "./scripts/376.js"],
  24. "all_frames": true,
  25. "run_at": "document_start"
  26. },
  27. {
  28. "matches": ["<all_urls>"],
  29. "js": ["insert-auto.js", "content-script.js"],
  30. "all_frames": true,
  31. "run_at": "document_start"
  32. }
  33. ],
  34. "permissions": [
  35. "scripting",
  36. "storage",
  37. "activeTab",
  38. "webRequest",
  39. "notifications",
  40. "declarativeNetRequest"
  41. ],
  42. "host_permissions": [
  43. "http://*/*",
  44. "https://*/*"
  45. ],
  46. "externally_connectable": {
  47. "matches": [
  48. "https://demos.run/*",
  49. "https://cunchu.site/*"
  50. ]
  51. },
  52. "declarative_net_request": {
  53. "rule_resources": [{
  54. "id": "ruleset_1",
  55. "enabled": true,
  56. "path": "rules.json"
  57. }]
  58. },
  59. "homepage_url": "https://work.weixin.qq.com/ca/cawcde1652d7683651"
  60. }