# How to anonymize your links in Discourse?

**URL:** <https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185>\
**Category:** Product Support\
**Created:** [12.Февраль.2015 23:39:25 UTC](https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185 "2015-02-12T23:39:25Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![claas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/claas/32/71725_2.png) [@claas](https://meta.discourse.org/u/claas)\
**Post date:** [01.Июль.2016 12:24:57 UTC](https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185/16 "2016-07-01T12:24:57Z")

</div>

Did anybody come up with a way of enabling a dereferrer for outgoing links?

I was considering a JavaScript solution, but this does collide with Discourse’s link counting (which redirects the user via `/click/track`, but doesn’t change the fact that the original post’s URL will appear in the `Referrer` header).

**Update** : As long as there is no setting or plug-in for this, the only way to solve this problem would be to add the following JavaScript:

```plaintext
jQuery(function() {
  $('body').on('mouseover', 'a', function(evt) {
    $(evt.target).attr('rel', 'noreferrer');
  });
});

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185)._
