manifest.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "manifest_version": 2,
  3. "name" : "Markdown Viewer",
  4. "version" : "3.2",
  5. "description" : "Markdown Viewer",
  6. "browser_action": {
  7. "default_icon": {
  8. "19" : "/images/icon19.png",
  9. "38" : "/images/icon38.png"
  10. },
  11. "default_title": "Markdown Viewer",
  12. "default_popup": "/content/popup.html"
  13. },
  14. // chrome
  15. "options_page": "/content/options.html",
  16. // firefox
  17. // "options_ui": {
  18. // "page": "content/options.html"
  19. // },
  20. "background" : {
  21. "scripts": [
  22. "/vendor/marked.min.js",
  23. "/vendor/remark.min.js",
  24. "/vendor/remark-html.min.js",
  25. "/vendor/remark-slug.min.js",
  26. "/vendor/remark-frontmatter.min.js",
  27. "/background/mathjax.js",
  28. "/background/marked.js",
  29. "/background/remark.js",
  30. "/background/background.js"
  31. ]
  32. // chrome
  33. , "persistent": false
  34. },
  35. "web_accessible_resources": [
  36. "/themes/github.css",
  37. "/themes/github-dark.css",
  38. "/themes/godspeed.css",
  39. "/themes/new-modern.css",
  40. "/themes/torpedo.css",
  41. "/themes/vostok.css",
  42. "/themes/ghostwriter.css",
  43. "/themes/radar.css",
  44. "/themes/foghorn.css",
  45. "/themes/markdown.css",
  46. "/themes/markedapp-byword.css",
  47. "/themes/solarized-dark.css",
  48. "/themes/solarized-light.css",
  49. "/themes/screen.css",
  50. "/themes/markdown5.css",
  51. "/themes/markdown6.css",
  52. "/themes/markdown7.css",
  53. "/themes/markdown8.css",
  54. "/themes/markdown9.css",
  55. "/themes/markdown-alt.css"
  56. ],
  57. "icons": {
  58. "16" : "/images/icon16.png",
  59. "48" : "/images/icon48.png",
  60. "128": "/images/icon128.png"
  61. },
  62. "homepage_url": "https://chrome.google.com/webstore/detail/markdown-viewer/ckkdlimhmcjmikdlpkmbgfkaikojcbjk",
  63. "permissions": [
  64. "storage",
  65. "file:///*"
  66. // firefox
  67. // , "webRequest"
  68. // , "webRequestBlocking"
  69. ],
  70. "optional_permissions": [
  71. "https://*/",
  72. "http://*/",
  73. "*://*/"
  74. ]
  75. // firefox
  76. // , "applications": {
  77. // "gecko": {
  78. // "id": "[email protected]",
  79. // "strict_min_version": "57.0"
  80. // }
  81. // }
  82. }