Positive Or Negative Framing
Positive or Negative Framing is a cognitive dark pattern grounded in Prospect Theory and the framing effect. It deliberately manipulates the user's choice architecture by presenting the business-favorable option as a significant gain, reward, or logically superior choice (positive framing), while simultaneously depicting the user-favorable alternative as a loss, risk, or foolish decision (negative framing). By artificially shifting the baseline of the decision, the interface exploits human loss aversion. Because the psychological pain of losing is empirically twice as powerful as the pleasure of gaining, the system effectively coerces the user into compliance to avoid manufactured negative consequences or social and financial penalties.

1
Structural Asymmetry of Framed Option Subtrees
Condition 1: Structural Asymmetry of Framed Option Subtrees
Given
To establish a structural baseline for Positive or Negative Framing, the algorithm compares the DOM topology of options presented under gain-framed and loss-framed modalities within the same decision container. Let and be the respective DOM subtrees. The feature triggers if one framing pole contains additional structural embellishments—extra icon nodes, badge overlays, or color-wrapper <span> elements—not present in the counterpart, quantified as a subtree-difference ratio exceeding :
2
Visual Weight Asymmetry Between Framing Poles
Condition 2: Visual Weight Asymmetry Between Framing Poles
Given
To establish a visual baseline for Positive or Negative Framing, the algorithm identifies paired interface segments presenting the same information under gain-framed () and loss-framed () modalities. The feature triggers if the visual weight—computed as the product of bounding box area and contrast ratio—is asymmetrically distributed between the two frames, with one pole rendered at a multiplier exceeding relative to the other:
3
Identification of Mutually Exclusive Vectors
Condition 3: Identification of Mutually Exclusive Vectors
Given
To mathematically evaluate the decision context, we isolate , a bounded DOM container (such as a modal or consent form) demanding a user choice. Within this container, we identify two interactive nodes, and . By tracking , which denotes the backend state transition or boolean consequence of interacting with a given node , the system first verifies that the nodes represent a strict, binary, mutually exclusive choice: