ANSI Viewer

ANSI Viewer

View ANSI file in the browser

Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "version": "4.0.0",
  "name": "ANSI Viewer",
  "description": "View ANSI file in the browser",
  "author": "eight",
  "homepage_url": "https://github.com/eight04/ansi-viewer",
  "permissions": [
    "contextMenus",
    "tabs",
    "webRequest",
    "webRequestBlocking",
    "*://*/*.ans",
    "*://*/*.ansi",
    "*://*/*.bbs",
    "file:///*"
  ],
  "background": {
    "scripts": [
      "get-binary-16a64387.js",
      "comlink-68a6ecb3.js",
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "file:///*"
      ],
      "include_globs": [
        "*.ans",
        "*.bbs",
        "*.ansi"
      ],
      "js": [
        "get-binary-16a64387.js",
        "content.js"
      ],
      "css": [
        "assets/content-c2a75d43.css"
      ]
    }
  ],
  "commands": {
    "viewAsANSI": {
      "suggested_key": {
        "default": "Alt+A"
      },
      "description": "View current page as ANSI"
    }
  }
}