Guard with a `hasOwnProperty` in case the outside page has had `Object.prototype` messed with (happened to me)