Opening the same Tab if its already opened by clicking the same link without any changes

Viewed 18

I want to open a website B URL from website A in a new tab and I am able to open using the following code:

<a key={name} href={href} target={name}>
   {name}
</a>

When I am doing any other activity on website B such as going to log in and going to another page of website B. After that go back to website A and again click on the website B URL which opens website B in the same tab but it refreshes and opens.

But I want that it should not refresh it will only redirect to website B and show me the last activity done by me on website B such as login and going o another page of website B.

Any idea how to do that?

0 Answers
Related