---
title: Navigator.taintEnabled()
slug: Web/API/Navigator/taintEnabled
tags:
  - API
  - Deprecated
  - HTML DOM
  - Method
  - Navigator
  - Reference
browser-compat: api.Navigator.taintEnabled
---
{{APIRef("HTML DOM")}} {{deprecated_header}}

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

```js
result = window.navigator.taintEnabled()
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("Navigator")}}
