javascript - How to hide refferer from a website -
this question has answer here:
- remove http referer 8 answers
for example have website x , don't want other site y, know url adress if goes site y through website x. how do that?
there noreferrer
value rel
attribute:
https://html.spec.whatwg.org/multipage/semantics.html#link-type-noreferrer https://developer.mozilla.org/en-us/docs/web/html/link_types
prevents browser, when navigating page, send page name, or other value, referrer via referer: http header. (in firefox, before firefox 37, worked in links found in pages. links clicked in ui, "open in new tab" via contextual menu, ignored this).
example:
<a href="http://www.example.com" rel="noreferrer">example</a>
there library tries support noreferrer on older/non-supportive browsers:
Comments
Post a Comment