Skip to content

Commit

Permalink
Cross origin links are now safe (#1941)
Browse files Browse the repository at this point in the history
Added rel = noopener to the links which open in new tab.

Fixes #1925
  • Loading branch information
rajvaibhavdubey authored and mariobehling committed Jan 16, 2019
1 parent 1a7b90d commit 947bec1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions frontend/app/templates/components/footer-main.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,22 @@
<div class="six wide column">

<div class="ui inverted link list">
<a class="item" href="https://fossasia.org/">Fossasia</a>
<a class="item" href="https://loklak.org/">Loklak</a>
<a class="item" href="https://chat.susi.ai/">SUSI</a>
<a class="item" href="https://eventyay.com/">Eventyay</a>
<a class="item" href="https://github.com/fossasia/neurolab-android">Neurolab</a>
<a class="item" href="https://fossasia.org/" target="_blank" rel="noopener">Fossasia</a>
<a class="item" href="https://loklak.org/" target="_blank" rel="noopener">Loklak</a>
<a class="item" href="https://chat.susi.ai/" target="_blank" rel="noopener">SUSI</a>
<a class="item" href="https://eventyay.com/" target="_blank" rel="noopener">Eventyay</a>
<a class="item" href="https://github.com/fossasia/neurolab-android" target="_blank" rel="noopener">Neurolab</a>
</div>
</div>
<div class="one wide column">

</div>
<div class="six wide column">
<div class="ui inverted link list">
<a class="item" href="https://pslab.io/">PSlab</a>
<a class="item" href="https://meilix.org/">Meilix</a>
<a class="item" href="https://phimp.me/">Phimp.me</a>
<a class="item" href="http://dev.yaydoc.org/">Yaydoc</a>
<a class="item" href="https://pslab.io/" target="_blank" rel="noopener">PSlab</a>
<a class="item" href="https://meilix.org/" target="_blank" rel="noopener">Meilix</a>
<a class="item" href="https://phimp.me/" target="_blank" rel="noopener">Phimp.me</a>
<a class="item" href="http://dev.yaydoc.org/" target="_blank" rel="noopener">Yaydoc</a>
</div>
</div>
</div>
Expand All @@ -80,7 +80,7 @@
</h4>
<div class="ui inverted link list">
{{#each socialMedia as |media|}}
<a class="item" href={{media.link}} target="_blank">
<a class="item" href={{media.link}} target="_blank" rel="noopener">
<i class="{{media.id}} icon"></i>{{ first-cap media.id}}
</a>
{{/each}}
Expand Down

0 comments on commit 947bec1

Please sign in to comment.