Baidu Capsule Firefox

Examine source code of Baidu Capsule

By: william
Inspect and view changes in Baidu Capsule source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "author": "Baidu Capsule",
  "manifest_version": 3,
  "name": "百度药丸 Baidu Capsule",
  "description": "屏蔽中文最大广告商百度的所有广告,用最猛的药治疗最顽固的恶疾。",
  "version": "1.8.1",
  "background": {
    "scripts": [
      "js/bg.js"
    ]
  },
  "permissions": [
    "storage",
    "declarativeNetRequest"
  ],
  "action": {
    "default_icon": {
      "96": "icons/icon.png"
    },
    "default_popup": "popup.html",
    "default_title": "百度药丸 Baidu Capsule "
  },
  "content_scripts": [
    {
      "js": [
        "js/jquery-3.4.1.min.js",
        "js/arrive.min.js",
        "js/cs_document_idle.js"
      ],
      "matches": [
        "https://*.baidu.com/*"
      ],
      "run_at": "document_idle"
    },
    {
      "js": [
        "js/cs_document_end.js"
      ],
      "all_frames": true,
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_end"
    }
  ],
  "icons": {
    "96": "icons/icon.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{0beac24c-8805-400a-bea5-a7a0e63309e8}",
      "strict_min_version": "109.0"
    }
  },
  "host_permissions": [
    "http://*/*",
    "https://*/*"
  ]
}

Best Baidu Capsule Alternatives

Here are some Firefox add-ons that are similar to Baidu Capsule: