LeetSync - Leetcode to Github Synchronizer

LeetSync - Leetcode to Github Synchronizer

LeetSync is a Chrome extension that enables you to sync your LeetCode problem submissions with a selected GitHub repository.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "LeetSync - Leetcode to Github Synchronizer",
  "description": "LeetSync is a Chrome extension that enables you to sync your LeetCode problem submissions with a selected GitHub repository.",
  "version": "0.0.5",
  "manifest_version": 3,
  "action": {
    "default_popup": "index.html",
    "default_title": "LeetSync"
  },
  "icons": {
    "16": "logo192.png",
    "48": "logo192.png",
    "128": "logo192.png",
    "256": "logo256.png",
    "512": "logo512.png"
  },
  "permissions": [
    "tabs",
    "storage",
    "cookies",
    "unlimitedStorage",
    "webRequest"
  ],
  "host_permissions": [
    "https://leetcode.com/*"
  ],
  "background": {
    "service_worker": "static/scripts/background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "https://github.com/*"
      ],
      "js": [
        "static/scripts/authorize-github.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://leetcode.com/problems/*"
      ],
      "js": [
        "static/scripts/leetcode.js"
      ],
      "run_at": "document_idle"
    }
  ]
}