FocusSpark: Smart Focus Sessions Firefox

Examine source code of FocusSpark: Smart Focus Sessions

Inspect and view changes in FocusSpark: Smart Focus Sessions source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "browser_specific_settings": {
    "gecko": {
      "id": "focusspark@cloakofenigma.github.io",
      "strict_min_version": "102.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "name": "__MSG_app_name__",
  "short_name": "__MSG_app_short_name__",
  "description": "__MSG_app_description__",
  "default_locale": "en",
  "version": "1.6.0",
  "icons": {
    "16": "assets/icon16.png",
    "48": "assets/icon48.png",
    "128": "assets/icon128.png"
  },
  "browser_action": {
    "default_popup": "popup.html",
    "default_title": "FocusSpark"
  },
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": true
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_start",
      "all_frames": false
    }
  ],
  "permissions": [
    "storage",
    "tabs",
    "webRequest",
    "webRequestBlocking",
    "notifications",
    "alarms",
    "idle",
    "<all_urls>"
  ],
  "optional_permissions": [
    "history"
  ],
  "web_accessible_resources": [
    "motivation.html",
    "motivation.js",
    "newtab.html",
    "newtab.js"
  ],
  "options_ui": {
    "page": "popup.html",
    "browser_style": false
  },
  "commands": {
    "start-last-session": {
      "suggested_key": {
        "default": "Ctrl+Shift+F",
        "mac": "Command+Shift+F"
      },
      "description": "Start the last used focus session"
    },
    "pause-session": {
      "suggested_key": {
        "default": "Ctrl+Shift+P",
        "mac": "Command+Shift+P"
      },
      "description": "Pause the active focus session"
    },
    "resume-session": {
      "suggested_key": {
        "default": "Ctrl+Shift+R",
        "mac": "Command+Shift+R"
      },
      "description": "Resume a paused focus session"
    },
    "stop-session": {
      "suggested_key": {
        "default": "Ctrl+Shift+S",
        "mac": "Command+Shift+S"
      },
      "description": "Stop the active focus session"
    },
    "block-current-site": {
      "description": "Block the current site (bind a key at about:addons → Manage Extension Shortcuts)"
    }
  }
}

Best FocusSpark: Smart Focus Sessions Alternatives

Here are some Firefox add-ons that are similar to FocusSpark: Smart Focus Sessions: