title: How to check if the default JS object been modified?
body: <p>How can I check from my JS script (running on my HTML page, that is loaded in user's browser), that some base JS API been spoofed by user (browser extension or whatever)? Like <code>HTMLElement.prototype.appendChild()</code> method or <code>screen.width</code> property?</p>