abort-on-iframe-property-write
The abort-on-iframe-property-write
snippet patches a list of properties on the iframe's window
object that aborts execution when the property is written.
You can use this snippet to prevent CV providers from overwriting properties inside an iframe.
Parameters
Name | Description | Mandatory |
---|---|---|
properties | The list with the targeted properties to abort. | Yes |
Filter examples
The following table lists examples that use the abort-on-iframe-property-write
snippet:
Filter | Result |
---|---|
| The code that sets the |
| The code that sets the |
| The code that sets the |
| The code that sets the |
Debugging
The following table contains messages you'll find useful during debugging:
Message | When the error occurs | Definition |
---|---|---|
| At the beginning of snippet execution | No |
| Each time the property is set, right before throwing the error | The error is about to be thrown. |
| Right before attaching to the property | This log is printed just before the snippet takes over the property getter OR setter. |
Last updated