I'm using a third part script (Chaordic loader.js for product recommendations) on my site and it is overriding `document.referrer` with rubbish, causing me a headache.

**Question: Is there a way to prevent this modification? Can I "freeze/seal" `document.referrer` in some way?**

I know I could just cancel the contract with the company but would like to try this lock first. I can put javascript code before or after the third part code, but can't modify it.

Third part code that overrides `document.referrer`:

```js
var t = window.chaordic && window.chaordic.readCookie && window.chaordic.readCookie(e);
Object.defineProperty(window.document, "referrer", {
  configurable: false,
  get: function() { return t }
});

```