Page.getScriptExecutionStatus

Determines if scripts can be executed in the page.

{
  "name": "getScriptExecutionStatus",
  "description": "Determines if scripts can be executed in the page.",
  "returns": [
    {
      "name": "result",
      "type": "string",
      "enum": [
        "allowed",
        "disabled",
        "forbidden"
      ],
      "description": "Script execution status: \"allowed\" if scripts can be executed, \"disabled\" if script execution has been disabled through page settings, \"forbidden\" if script execution for the given page is not possible for other reasons."
    }
  ]
}