LeetCode to GitHub Sync Firefox

Examine source code of LeetCode to GitHub Sync

Inspect and view changes in LeetCode to GitHub Sync source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "LeetCode to GitHub Sync",
  "version": "2.0.0",
  "description": "Automatically push accepted LeetCode submissions to your GitHub repository",
  "permissions": [
    "storage"
  ],
  "host_permissions": [
    "https://leetcode.com/*",
    "https://api.github.com/*"
  ],
  "content_security_policy": {
    "extension_pages": "default-src 'self'; script-src 'self'; script-src-attr 'none'; style-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'none'; connect-src https://api.github.com https://leetcode.com;"
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://leetcode.com/*",
        "https://leetcode.cn/*"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_end"
    }
  ],
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "icons/icon16.png",
      "32": "icons/icon32.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "icons/*"
      ],
      "matches": [
        "https://leetcode.com/*"
      ]
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "leetcode-github-sync@extension.local",
      "strict_min_version": "142.0",
      "data_collection_permissions": {
        "required": [
          "authenticationInfo",
          "websiteContent"
        ],
        "description": "This extension collects your GitHub Personal Access Token, GitHub username, and repository name to push LeetCode submissions to your specified repository. It also reads problem details (title, number, difficulty, code, language) from LeetCode submission pages. No data is sent to any third party — only to GitHub's API as configured by you."
      }
    }
  }
}

Best LeetCode to GitHub Sync Alternatives

Here are some Firefox add-ons that are similar to LeetCode to GitHub Sync: