백준허브(BaekjoonHub)

백준허브(BaekjoonHub)

Automatically integrate your BOJ submissions to GitHub

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "백준허브(BaekjoonHub)",
  "description": "Automatically integrate your BOJ submissions to GitHub",
  "homepage_url": "https://github.com/BaekjoonHub/BaekjoonHub",
  "version": "1.2.0",
  "author": "flaxinger",
  "action": {
    "default_icon": "assets/thumbnail.png",
    "default_popup": "popup.html"
  },
  "icons": {
    "16": "assets/thumbnail.png",
    "48": "assets/thumbnail.png",
    "128": "assets/thumbnail.png"
  },
  "background": {
    "service_worker": "scripts/background.js"
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "ruleset",
        "enabled": true,
        "path": "rules.json"
      }
    ]
  },
  "permissions": [
    "unlimitedStorage",
    "storage",
    "declarativeNetRequest",
    "declarativeNetRequestWithHostAccess"
  ],
  "host_permissions": [
    "https://www.acmicpc.net/",
    "https://school.programmers.co.kr/",
    "https://github.com/",
    "https://swexpertacademy.com/",
    "https://solved.ac/api/v3/*",
    "https://level.goorm.io/"
  ],
  "web_accessible_resources": [
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "library/jquery-3.3.1.min.js",
        "library/semantic.min.js",
        "popup.html",
        "popup.js",
        "welcome.html",
        "welcome.js"
      ]
    }
  ],
  "content_scripts": [
    {
      "matches": [
        "https://github.com/*"
      ],
      "js": [
        "scripts/util.js",
        "scripts/Github.js",
        "scripts/authorize.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://www.acmicpc.net/*"
      ],
      "css": [
        "css/baekjoon/inject.css"
      ],
      "js": [
        "library/sha1.min.js",
        "library/jszip.min.js",
        "library/FileSaver.min.js",
        "scripts/toast.js",
        "scripts/util.js",
        "scripts/Github.js",
        "scripts/authorize.js",
        "scripts/storage.js",
        "scripts/enable.js",
        "scripts/baekjoon/variables.js",
        "scripts/baekjoon/storage.js",
        "scripts/baekjoon/parsing.js",
        "scripts/baekjoon/util.js",
        "scripts/baekjoon/uploadfunctions.js",
        "scripts/baekjoon/baekjoon.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://school.programmers.co.kr/*"
      ],
      "css": [
        "css/programmers/inject.css"
      ],
      "js": [
        "library/sha1.min.js",
        "scripts/util.js",
        "scripts/Github.js",
        "scripts/authorize.js",
        "scripts/storage.js",
        "scripts/enable.js",
        "scripts/programmers/variables.js",
        "scripts/programmers/util.js",
        "scripts/programmers/parsing.js",
        "scripts/programmers/uploadfunctions.js",
        "scripts/programmers/programmers.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://swexpertacademy.com/*"
      ],
      "css": [
        "css/swexpertacademy/inject.css"
      ],
      "js": [
        "library/sha1.min.js",
        "scripts/util.js",
        "scripts/Github.js",
        "scripts/authorize.js",
        "scripts/storage.js",
        "scripts/enable.js",
        "scripts/swexpertacademy/storage.js",
        "scripts/swexpertacademy/variables.js",
        "scripts/swexpertacademy/util.js",
        "scripts/swexpertacademy/parsing.js",
        "scripts/swexpertacademy/uploadfunctions.js",
        "scripts/swexpertacademy/swexpertacademy.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://level.goorm.io/*"
      ],
      "css": [
        "css/goormlevel/inject.css"
      ],
      "js": [
        "library/sha1.min.js",
        "scripts/util.js",
        "scripts/Github.js",
        "scripts/authorize.js",
        "scripts/storage.js",
        "scripts/enable.js",
        "scripts/goormlevel/variables.js",
        "scripts/goormlevel/util.js",
        "scripts/goormlevel/parsing.js",
        "scripts/goormlevel/uploadfunctions.js",
        "scripts/goormlevel/goormlevel.js"
      ],
      "run_at": "document_idle"
    }
  ]
}