RTF Viewer

RTF Viewer

This extension allows to view RTF (Rich Text Format) files in the browser and does so automatically when clicking any link to an RTF file. The RTF file is then automatically displayed in the same tab (similarly to the pdf preview feature).

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "RTF Viewer",
  "description": "Display .rtf (Rich Text Format) files in the browser",
  "version": "1.4.2",
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "applications": {
    "gecko": {
      "strict_min_version": "56.0"
    }
  },
  "permissions": [
    "webRequest",
    "webRequestBlocking",
    "<all_urls>"
  ],
  "browser_action": {
    "default_icon": {
      "16": "icons/icon16.png"
    }
  },
  "background": {
    "scripts": [
      "background.js",
      "rtfRedirectHandler.js"
    ]
  },
  "incognito": "spanning",
  "web_accessible_resources": [
    "viewer/viewer.html"
  ]
}