How to disable specific JavaScript object
<p>HI All,</p>

<p>Is there a way to disable specific JavaScript object, while all other JS objects will be available for execution? Something like a script in the top line which controls the rest of JS code on the page.</p>

<p>For example I want to prevent <code>navigator.userAgent</code> execution and leave <code>navigator.appVersion</code> available.
Or even more advanced way, the execution result must be defined by me. Let's say my browser is FF 3.6.8 but <code>navigator.userAgent</code> would reture IE 8.0</p>

<p>Mostly I'm interested in disabling or superseding objects results that return information about user Browser, Cookie, Resolution and OS</p>

<p>Thanks in Advance.
Jevgenijs</p>
