RageclickConfig

Properties

NameType
click_countnumber

Number of consecutive clicks within the timeout to qualify as a rage click. 3

content_ignorelistboolean | string[]

Controls automatic exclusion of elements by text content from rageclick detection. Useful for pagination buttons, loading spinners, and other repeatedly-clicked UI elements. - true (default): Use default keywords ['next', 'previous', 'prev', '', ''] - false: Disable content-based exclusion - string[]: Use custom keywords (max 10 items, otherwise use css_selector_ignorelist) Checks if element text content or aria-label contains any of the keywords (case-insensitive) true

css_selector_ignoreliststring[]

List of CSS selectors to ignore rageclicks on e.g. ['.my-calendar-button'] we consider the tree of elements from the root to the target element of the click event so for the tree div div button svg and ignore list config ['[id]'] we will ignore the rageclick if the click-target or its parents has any id Nothing is ignored when there's an empty ignorelist, e.g. [] If no ignorelist is set, we default to ignoring .ph-no-rageclick If an element has .ph-no-capture, it will always be ignored by rageclick and autocapture

threshold_pxnumber

Maximum pixel distance between clicks to still be considered a rage click. 30

timeout_msnumber

Maximum time window (in milliseconds) between the first and last click. 1000

Community questions

Questions about this page? or post a community question.