SuperFocus - Time Tracker, Block Sites, Hide Distractions

SuperFocus - Time Tracker, Block Sites, Hide Distractions

Track time of your web activity, limit and block distracting websites, and hide distractions.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "__MSG_extName__",
  "description": "__MSG_extDescription__",
  "version": "2.0",
  "manifest_version": 3,
  "short_name": "SuperFocus",
  "options_page": "src/dashboard.html",
  "default_locale": "en",
  "icons": {
    "48": "icon_48.png",
    "64": "icon_64.png",
    "128": "icon_128.png"
  },
  "permissions": [
    "tabs",
    "storage",
    "idle",
    "unlimitedStorage",
    "alarms",
    "notifications"
  ],
  "offline_enabled": true,
  "background": {
    "service_worker": "src/background.js"
  },
  "homepage_url": "http://getsuperfocus.com",
  "action": {
    "default_popup": "src/popup.html",
    "default_title": "SuperFocus"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "js": [
        "src/cs/youtube.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.linkedin.com/*"
      ],
      "js": [
        "src/cs/linkedin.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.twitter.com/*",
        "*://twitter.com/*"
      ],
      "js": [
        "src/cs/twitter.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.facebook.com/*"
      ],
      "js": [
        "src/cs/facebook.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.instagram.com/*"
      ],
      "js": [
        "src/cs/instagram.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.reddit.com/*"
      ],
      "js": [
        "src/cs/reddit.js"
      ],
      "run_at": "document_start"
    }
  ],
  "externally_connectable": {
    "matches": [
      "https://*.getsuperfocus.com/*",
      "https://getsuperfocus.com/*",
      "http://localhost:8000/*"
    ]
  },
  "web_accessible_resources": [
    {
      "matches": [
        "*://*.youtube.com/*",
        "*://*.twitter.com/*",
        "*://twitter.com/*",
        "*://*.linkedin.com/*",
        "*://*.facebook.com/*",
        "*://*.instagram.com/*",
        "*://*.reddit.com/*"
      ],
      "resources": [
        "css/*.css"
      ]
    },
    {
      "resources": [
        "src/welcome.html"
      ],
      "matches": [
        "<all_urls>"
      ]
    },
    {
      "resources": [
        "src/dashboard.html"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}