ANSI Viewer Plus

ANSI Viewer Plus is a versatile browser extension designed to enhance your browsing experience by providing seamless viewing of ANSI art and text files directly within your browser.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
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": []
  },
  "content_scripts": [
    {
      "matches": [
        "file:///*"
      ],
      "include_globs": [
        "*.ans",
        "*.bbs",
        "*.ansi"
      ],
      "js": [],
      "css": []
    }
  ],
  "commands": {
    "viewAsANSI": {
      "suggested_key": {
        "default": "Alt+A"
      },
      "description": "View current page as ANSI"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{c8a058a7-51a2-4ea3-9dd5-c002ac960363}"
    }
  }
}