prevent-listener

The prevent-listener snippet prevents the addition of event listeners.

You can use prevent-listener by wrapping EventTarget.prototype.addEventListener and not allowing listeners to be added for certain event types.

Parameters

Filter examples

The following table lists examples that use the abort-on-iframe-property-write snippet:

Debugging

The following table contains messages you'll find useful during debugging:

Last updated