One day I found that although I rewrite the referrer field in chrome browser,but the referer field in http request header is not changed.So I want to know where is the referer field from in a http request.
I rewrite the referrer field by below code:
Object.defineProperty(Document.prototype, 'referrer', { get: function(){ return ''; } });
// document.referrer --> ''