Skip to content

Conversation

nscyclone
Copy link
Contributor

@nscyclone nscyclone commented Mar 20, 2018

[rel="noopener"] is added to external links having [target="_blank"] to deny access to window.opener. Here is a quick rundown on why it is important.

@nscyclone nscyclone requested a review from a team March 20, 2018 15:17
@OvermindDL1
Copy link

[target="_blank"] is added to links to source code in order to open them in a new tab;

Please no, like really no. If I want to open a new tab I will middle-click. Left-click should always only open in the same tab and it is really really irritating when a site overrides that behaviour so I have no option to open in the same tab then...

@nscyclone
Copy link
Contributor Author

Thanks, @OvermindDL1! You're right, there was no sense in changing current behaviour on links to source code. I've rebased the branch and updated the PR description accordingly.

@whatyouhide whatyouhide merged commit 1b8682b into elixir-lang:master Mar 20, 2018
@whatyouhide
Copy link
Member

Thanks @nscyclone! 💟

@nscyclone nscyclone deleted the fix/noopener branch March 20, 2018 16:59
@whatyouhide
Copy link
Member

@nscyclone missed you're a committer on ex_doc, sorry for the merge + usual thanks 😄

wojtekmach added a commit to hexpm/hexpm that referenced this pull request Dec 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants