Name

taintEnabled( ) — NN 3 IE 4 DOM n/a

Synopsis

Returns whether “data tainting” is turned on in the browser. This security mechanism was never fully implemented in Navigator, but the method that checks for it is still included in newer versions of Navigator for backward compatibility. Internet Explorer 4 also includes it for compatibility, even though it always returns false.

Returned Value

Boolean value: true | false.

Parameters

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.