v2ex plus Firefox

Examine source code of v2ex plus

제작자: p0we7
Inspect and view changes in v2ex plus source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "name": "v2ex plus",
  "version": "1.6.5",
  "manifest_version": 2,
  "description": "优雅便捷的 V2EX 扩展",
  "background": {
    "scripts": [
      "libs/jquery-3.2.0.min.js",
      "libs/webtoolkit.base64.min.js",
      "libs/isOnline.min.js",
      "background.js",
      "clipboard.js"
    ]
  },
  "permissions": [
    "alarms",
    "notifications",
    "storage",
    "contextMenus",
    "webRequest",
    "webRequestBlocking",
    "*://*.v2ex.com/*",
    "*://*.imgur.com/*",
    "*://*.weibo.com/*",
    "*://*.sinaimg.cn/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://*.v2ex.com/"
      ],
      "css": [
        "hideCheck.css"
      ]
    },
    {
      "matches": [
        "*://*.v2ex.com/*"
      ],
      "js": [
        "libs/jquery-3.2.0.min.js",
        "all.js"
      ]
    },
    {
      "matches": [
        "*://*.v2ex.com/",
        "*://*.v2ex.com/?tab=*",
        "*://*.v2ex.com/go/*",
        "*://*.v2ex.com/my/*",
        "*://*.v2ex.com/recent*",
        "*://*.v2ex.com/changes*"
      ],
      "css": [
        "v2ex_tab.css"
      ],
      "js": [
        "v2ex_tab.js",
        "user_info.js"
      ]
    },
    {
      "matches": [
        "*://*.v2ex.com/t/*"
      ],
      "css": [
        "v2ex_reply.css"
      ],
      "js": [
        "emoticon.js",
        "clipboard.js",
        "v2ex_reply.js",
        "user_info.js",
        "sync_collect.js",
        "v2ex_date.js"
      ]
    },
    {
      "matches": [
        "*://*.v2ex.com/new"
      ],
      "css": [
        "v2ex_new.css"
      ],
      "js": [
        "v2ex_new.js"
      ]
    },
    {
      "matches": [
        "*://*.v2ex.com/my/topics"
      ],
      "js": [
        "v2ex_collect.js"
      ]
    }
  ],
  "browser_action": {
    "default_icon": "icon/icon38.png"
  },
  "options_ui": {
    "page": "page/options.html",
    "open_in_tab": true
  },
  "icons": {
    "16": "icon/icon16.png",
    "48": "icon/icon48.png",
    "128": "icon/icon128.png"
  },
  "web_accessible_resources": [
    "img/*"
  ],
  "applications": {
    "gecko": {
      "id": "{690c1618-4b2c-4905-bf58-1fc82bdfd6e7}",
      "strict_min_version": "48.0"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "strict_min_version": "68.0"
    }
  },
  "commands": {
    "newMsg": {
      "suggested_key": {
        "default": "Ctrl+B"
      },
      "description": "查看 V2EX 消息"
    }
  }
}

최고의 v2ex plus 대안

다음은 v2ex plus과(와) 유사한 Firefox add-on입니다: