---
title: "Comment by Chris Bongers on \"Prevent Reverse Tabnabbing Attacks With Proper noopener, noreferrer, and nofollow Attribution\" | Hashnode"
description: "Well explained, I actually should make more use of this, it&#39;s such a default security standard, but wel overlooked. Just out of curiosity, does anyone know"
url: "https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69/comment/5f3d237c79fdf532228ede03"
---

[Discussion](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69)

Comment [Prevent Reverse Tabnabbing Attacks With Proper noopener, noreferrer, and nofollow Attribution](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69)

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Aug 19, 2020](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69/comment/5f3d237c79fdf532228ede03)

Well explained, I actually should make more use of this, it's such a default security standard, but wel overlooked.

Just out of curiosity, does anyone know an actual script that will bogus the request with not having this in place?

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Aug 19, 2020](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69/comment/5f3d237c79fdf532228ede03#reply-5f3d263179fdf532228ede1b)

Thanks 🙏.

What do you mean by "bogus the request" ?

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Aug 19, 2020](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69/comment/5f3d237c79fdf532228ede03#reply-5f3d269d79fdf532228ede20)

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998) What would be an example of a hijack of a URL that doesn't use the noopener

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Aug 19, 2020](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69/comment/5f3d237c79fdf532228ede03#reply-5f3d282d456c173201126059)

[Daily Dev Tips](https://hashnode.com/@dailydevtips)

It can be as simple as redirecting the old tab to some other fake site by setting `window.opener.location.href`. If the redirected site looks close enough to original site and asks user to login again, the unsuspecting user thinks that he got logged out and may enter login credentials.

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Aug 19, 2020](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69/comment/5f3d237c79fdf532228ede03#reply-5f3d28c9456c173201126063)

Oh... May be you meant an actual website which is making use of this attack 😂. If so, i don't know of any such site, we have to wait for someone else to answer it.

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Aug 19, 2020](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69/comment/5f3d237c79fdf532228ede03#reply-5f3d2b5179fdf532228ede39)

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998) No this is perfect, makes sense so basicly the referal is injecting your original site with a clone.

Just always curious to see how these attacks work. Might set up an extreme sample to test haha.

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Aug 19, 2020](https://hashnode.com/posts/noopener-noreferrer-and-nofollow-when-to-use-them-how-can-these-prevent-phishing-attacks/5f3bd19a1171952552d15f69/comment/5f3d237c79fdf532228ede03#reply-5f3d2cbb456c1732011260a2)

[Daily Dev Tips](https://hashnode.com/@dailydevtips) Please do share that site with us when you set it up to test. Will add that to the links. 😁
