Examine source code of 百度广告屏蔽

Inspect and view changes in 百度广告屏蔽 source codes across current and past versions
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": "1.6.0",
  "name": "百度去广告",
  "description": "自动去除百度广告,包括搜索、贴吧、知道、新闻在内的所有百度产品线。禁止百度统计采集用户访问记录(对所有安装了百度统计代码的网站均可自动屏蔽)。",
  "icons": {
    "16": "icons/du.png",
    "48": "icons/du.png",
    "128": "icons/du.png"
  },
  "browser_action": {
    "default_icon": "icons/du.png"
  },
  "background": {
    "scripts": [
      "js/lib/deferred.js",
      "js/lib/hex.js",
      "js/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://www.baidu.com/*",
        "http://*.baidu.com/*",
        "https://*.baidu.com/*"
      ],
      "css": [
        "css/style.css"
      ],
      "js": [
        "js/remove.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "js/presentation.js",
        "js/baidu-tongji.js",
        "js/find.js"
      ],
      "all_frames": true,
      "run_at": "document_end"
    }
  ],
  "permissions": [
    "tabs",
    "webRequest",
    "*://*/*",
    "contextMenus",
    "webNavigation",
    "webRequestBlocking",
    "storage"
  ]
}