HubL Code Formatter Firefox

Examine source code of HubL Code Formatter

Inspect and view changes in HubL Code Formatter source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "HubL Code Formatter",
  "version": "1.0.4",
  "description": "Format HubL, HTML, CSS & JavaScript in HubSpot Design Manager with one click. Clean, readable code instantly.",
  "author": "StudioNope",
  "homepage_url": "https://studionope.com",
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "permissions": [
    "storage",
    "alarms"
  ],
  "host_permissions": [
    "https://*.hubspot.com/*"
  ],
  "background": {
    "scripts": [
      "src/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://*.hubspot.com/design-manager/*"
      ],
      "js": [
        "src/formatter-bundle.js",
        "src/main-world.js",
        "src/editor-enhancements.js"
      ],
      "run_at": "document_idle",
      "world": "MAIN"
    },
    {
      "matches": [
        "https://*.hubspot.com/design-manager/*"
      ],
      "js": [
        "src/content.js"
      ],
      "run_at": "document_idle",
      "world": "ISOLATED"
    }
  ],
  "commands": {
    "format-hubl": {
      "suggested_key": {
        "default": "Ctrl+Shift+F",
        "mac": "Command+Shift+F"
      },
      "description": "Format selected HubL code"
    }
  },
  "action": {
    "default_popup": "dist/options/index.html"
  },
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon48.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "hubl-formatter@studionope.com",
      "strict_min_version": "128.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": []
      }
    }
  }
}

Best HubL Code Formatter Alternatives

Here are some Firefox add-ons that are similar to HubL Code Formatter: