view manifest.json.in @ 6:5d7c13e998e9

Create feed previews using a stream filter Instead of replacing the feed document with an XHTML preview from a content script after it has already been rendered, create an XHTML preview using a stream filter before it is passed into the rendering engine and use an XSL style sheet to convert it to HTML. This has two advantages, firstly it results in an HTMLDocument with the full HTML DOM available and secondly it avoids rendering the document twice. Refactor the feed preview creation and split parsing and rendering into seperate modules.
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Thu, 08 Nov 2018 16:30:34 +0100
parents bc5cc170163c
children c271192aac9d
line wrap: on
line source

{
    "manifest_version": 2,
    "name": "__MSG_extensionName__",
    "version": "@VERSION@",
    "description": "__MSG_extensionDescription__",
    "author": "Guido Berhoerster",
    "homepage_url": "https://code.guido-berhoerster.org/addons/firefox-addons/feed-preview/",
    "default_locale": "en",
    "applications": {
        "gecko": {
            "id": "feed-preview@code.guido-berhoerster.org",
            "strict_min_version": "60.0"
        }
    },
    "icons": {
        "48": "icons/feed-preview-48.png",
        "96": "icons/feed-preview-96.png"
    },
    "permissions": [
        "tabs",
        "http://*/*",
        "https://*/*",
        "webRequest",
        "webRequestBlocking"
    ],
    "background": {
        "page": "background.html"
    },
    "content_scripts": [
        {
            "matches": [ "http://*/*", "https://*/*", "file:///*" ],
            "js": [ "content_scripts/feed-probe.js" ]
        }
    ],
    "web_accessible_resources": [
        "web_resources/xhtml-to-html.xsl",
        "web_resources/images/arrow.svg",
        "web_resources/style/*.css"
    ],
    "page_action": {
        "browser_style": true,
        "default_icon": "icons/feed-preview.svg",
        "default_title": "Feeds",
        "default_popup": "popup/feed-selection.html"
    }
}