ZAP API UI

Component: hud

Views

getUiOption (key* ) Gets a UI option set using setUiOption. If the supplied key is not set then an empty string is returned
heartbeatUsed by service workers to keep alive
hudAlertData (url* ) Returns the alert summary needed by the HUD for the specified URL
optionAllowUnsafeEvalReturns true if the 'Allow unsafe-eval' option is set
optionBaseDirectoryReturns the base directory from which the HUD files are loaded
optionDevelopmentModeReturns true if the 'Development mode' option is set
optionEnableOnDomainMsgs
optionEnableTelemetry
optionEnabledForDaemon
optionEnabledForDesktop
optionInScopeOnlyReturns true if the 'In scope only' option is set
optionRemoveCSPReturns true if the 'Remove CSP' option is set
optionShowWelcomeScreen
optionSkipTutorialTasks
optionTutorialHost
optionTutorialPort
optionTutorialTasksDone
optionTutorialTestMode
optionTutorialUpdates
tutorialUpdates
upgradedDomains

Actions

log (record* ) Used by the HUD to log messages from the browser
recordRequest (header* body* ) Used by the HUD to cache a request the user wants to send in the browser
resetTutorialTasksReset the tutorial tasks so that they must be completed again
setOptionBaseDirectory (String* ) Set the base directory from which the HUD files are loaded
setOptionDevelopmentMode (Boolean* ) Sets the boolean option 'Development mode'
setOptionEnableOnDomainMsgs (Boolean* )
setOptionEnabledForDaemon (Boolean* )
setOptionEnabledForDesktop (Boolean* )
setOptionInScopeOnly (Boolean* ) Sets the boolean option 'In scope only'
setOptionRemoveCSP (Boolean* ) Sets the boolean option 'Remove CSP'
setOptionShowWelcomeScreen (Boolean* )
setOptionSkipTutorialTasks (Boolean* )
setOptionTutorialTaskDone (String* )
setOptionTutorialTestMode (Boolean* )
setUiOption (key* value ) Sets a UI option with the given key and value. The key must be 50 or fewer alphanumeric characters

Others

changesInHtmlReturns the changelog in HTML format