Firefox Tomorrow

web api instance method

Navigator: taintEnabled() method

View on MDN ↗

The Navigator.taintEnabled() method always returns false.

Tainting was a security method used by JavaScript 1.2. It has long been removed; this method only stays for maintaining compatibility with very old scripts.

Syntax

taintEnabled()

Parameters

None.

Return value

Always returns false.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also