abort-current-inline-script

This snippet aborts the execution of an inline script when a property is either read or written.

Parameters

Filter examples

The following table lists examples that use the abort-current-inline-script filter:

Tradeoffs

Keep the following tradeoffs in mind when you use the abort-current-inline-scriptfilter:

  • The snippet is executed after all of a page's inline scripts. As a result, you should only attach properties read inside of a callback, which can be executed after the script.

  • You can only attach this snippet to global properties, or properties of the window object.

Last updated