manifest.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "manifest_version": 2,
  3. "name" : "Markdown Viewer",
  4. "version" : "1.3",
  5. "description" : "Markdown viewer",
  6. "page_action": {
  7. "default_icon": {
  8. "19" : "/images/icon19.png",
  9. "38" : "/images/icon38.png"
  10. },
  11. "default_title": "Markdown Viewer",
  12. "default_popup": "/views/popup.html"
  13. },
  14. "background" : {
  15. "scripts": [
  16. "/jslib/marked.js",
  17. "/chrome/markdown.js",
  18. "/chrome/background.js"
  19. ],
  20. "persistent": false
  21. },
  22. "content_scripts": [
  23. {
  24. "matches": [
  25. "*://*/*.markdown",
  26. "*://*/*.mdown",
  27. "*://*/*.mkdn",
  28. "*://*/*.md",
  29. "*://*/*.mkd",
  30. "*://*/*.mdwn",
  31. "*://*/*.mdtxt",
  32. "*://*/*.mdtext",
  33. "*://*/*.text",
  34. "file:///*/*.markdown",
  35. "file:///*/*.mdown",
  36. "file:///*/*.mkdn",
  37. "file:///*/*.md",
  38. "file:///*/*.mkd",
  39. "file:///*/*.mdwn",
  40. "file:///*/*.mdtxt",
  41. "file:///*/*.mdtext",
  42. "file:///*/*.text"
  43. ],
  44. "exclude_matches": [
  45. "*://github.com/*"
  46. ],
  47. "css": [
  48. "/css/prism.css"
  49. ],
  50. "js": [
  51. "/jslib/jquery-2.0.3.min.js",
  52. "/jslib/prism.js",
  53. "/js/content.js"
  54. ],
  55. "run_at": "document_start",
  56. "all_frames": true
  57. }
  58. ],
  59. "web_accessible_resources": [
  60. "/images/dirty-shade.png",
  61. "/jslib/jquery-2.0.3.min.map",
  62. "/themes/github.css",
  63. "/themes/avenir-white.css",
  64. "/themes/foghorn.css",
  65. "/themes/jasonm23-dark.css",
  66. "/themes/jasonm23-foghorn.css",
  67. "/themes/jasonm23-markdown.css",
  68. "/themes/jasonm23-swiss.css",
  69. "/themes/markdown10.css",
  70. "/themes/markdown1.css",
  71. "/themes/markdown2.css",
  72. "/themes/markdown3.css",
  73. "/themes/markdown4.css",
  74. "/themes/markdown5.css",
  75. "/themes/markdown6.css",
  76. "/themes/markdown7.css",
  77. "/themes/markdown8.css",
  78. "/themes/markdown9.css",
  79. "/themes/markdown-alt.css",
  80. "/themes/markdown.css",
  81. "/themes/markedapp-byword.css",
  82. "/themes/screen.css",
  83. "/themes/swiss.css",
  84. "/themes/thomasf-solarizedcssdark.css",
  85. "/themes/thomasf-solarizedcsslight.css"
  86. ],
  87. "icons": {
  88. "16" : "/images/icon16.png",
  89. "48" : "/images/icon48.png",
  90. "128": "/images/icon128.png"
  91. },
  92. "homepage_url": "https://chrome.google.com/webstore/detail/markdown-viewer/ckkdlimhmcjmikdlpkmbgfkaikojcbjk",
  93. "permissions": [
  94. "tabs",
  95. "storage"
  96. ],
  97. "content_security_policy": "script-src 'unsafe-eval'; object-src 'self'"
  98. }