Class: HTMLOperation

HTMLOperation


new HTMLOperation(name, config, app, manager)

Object to handle the creation of operations.

Parameters:
Name Type Description
name string

The name of the operation.

config Object

The configuration object for this operation.

app HTMLApp

The main view object for CyberChef.

manager Manager

The CyberChef event manager.

Author:
  • <p>n1474335 [n1474335@gmail.com]</p>
License:
  • Apache-2.0
Source:

Members


<static, constant> INFO_ICON

Source:

<static, constant> REMOVE_ICON

Source:

Methods


to_stub_html()

Renders the operation in HTML as a stub operation with no ingredients.

Source:
Returns:
Type
string

to_full_html()

Renders the operation in HTML as a full operation with ingredients.

Source:
Returns:
Type
string

highlight_search_string(search_str, name_pos, desc_pos)

Highlights the searched string in the name and description of the operation.

Parameters:
Name Type Description
search_str string
name_pos number

The position of the search string in the operation name

desc_pos number

The position of the search string in the operation description

Source: