August 1999
Intermediate to advanced
1488 pages
72h 53m
English
untaint(property) untaint(variable) untaint(function) untaint(object)
The untaint() method, a security measure that was only implemented in JavaScript 1.1, allowed a developer to allow return values to be used by and propagated to other scripts. This method does not change the data element passed to it, but rather returns an unmarked reference to the element.
Because untaint() and the functionality of data tainting was removed in JavaScript 1.2, you should avoid using this method. You should use it only if you have a specific security reason for compatibility with Navigator 3 browsers. See Chapter 1 for more information on the security model that is now used in Navigator browsers.
Read now
Unlock full access