HFT - CHPP Firefox

Examine source code of HFT - CHPP

提供元: Telesphore
Inspect and view changes in HFT - CHPP source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "HFT",
  "version": "1.2",
  "description": "Translate Hattrick forums and speak any language easily",
  "action": {
    "default_title": "HFT",
    "default_icon": {
      "128": "hft-icon.png"
    }
  },
  "icons": {
    "128": "hft-icon.png"
  },
  "permissions": [
    "storage",
    "declarativeNetRequest"
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "modify_response_ruleset",
        "path": "deepl.json",
        "enabled": true
      }
    ]
  },
  "host_permissions": [
    "*://*.hattrick.org/*",
    "*://translate.google.com/*",
    "*://api-free.deepl.com/*"
  ],
  "background": {
    "scripts": [
      "worker.js"
    ]
  },
  "options_ui": {
    "page": "config.html",
    "open_in_tab": true
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.hattrick.org/*"
      ],
      "js": [
        "jquery.min.js",
        "hft.js"
      ]
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "{2d1d589a-d1b7-4f1f-a07e-aa1b1ba3e890}"
    }
  }
}

ベストのHFT - CHPP代替案

HFT - CHPPに類似したFirefox add-onをいくつか紹介します: