That's the expected result right? You clicked on a link to get to the page so you get a referrer right. Setting the referrer value done by the browser, so anytime you click on a link you are going to get a referrer. Is there some reason that's a problem?
Thanks for your reply. Perhaps I was not much descriptive.
When I click on a link (on a page abc.html) to open my page (say mypage.html), referer is abc.html - which is as expected.
But when I open mypage.html directly from the CRX repository by navigating inside /content/...path-to- .. mypage.html, the referer value defaults to the location of mypage.html inside CRX, instead of a null value - which is not what I am expecting.
So is there any way I can set the referal to null value for this case?
The Referer is always the document/resource that is referring to the current resource. Since you are opening from content explorer the referal can't be null & will be http://<host>:<port>/crx/explorer/browser/content.jsp