common.js 795 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * FeHelper 公共文件
  3. * @author zhaoxianlie
  4. */
  5. // 常量定义
  6. export let MSG_TYPE = {
  7. // 正式版chrome extension id
  8. STABLE_EXTENSION_ID: 'pkgccpejnmalmdinmhkkfafefagiiiad',
  9. // github 上的下载地址
  10. DOWNLOAD_FROM_GITHUB: 'https://github.com/zxlie/FeHelper/tree/master/apps/static/screenshot/crx',
  11. // MENU SAVED
  12. MENU_SAVED: 'menu_saved',
  13. // JSON手动格式化
  14. JSON_FORMAT: 'json-format',
  15. DYNAMIC_TOOL: 'dynamic',
  16. TAB_CREATED_OR_UPDATED: 'TAB_CREATED_OR_UPDATED',
  17. CAPTURE_VISIBLE_PAGE: 'capture-visible-page',
  18. OPEN_DYNAMIC_TOOL: 'open-dynamic-tool',
  19. OPEN_PAGE: 'open-page',
  20. DYNAMIC_TOOL_INSTALL_OR_OFFLOAD: 'dynamic-tool-install-or-offload',
  21. DYNAMIC_ANY_THING: 'fh-dynamic-any-thing'
  22. };
  23. export default MSG_TYPE;