Skip to main content

GlobalEventHandlers.onmonetization

The onmonetization property of the GlobalEventHandlers mixin is the event handler for processing monetization events sent to the window.

Syntax

window.onmonetization = functionRef

Examples

window.onmonetization = function () {
alert('Web Monetization event triggered.')
}

Specifications

Browser compatibility