You should add the target="_blank" and rel="noopener noreferrer" in the anchor tag.
For example:
<a target="_blank" rel="noopener noreferrer" href="http://your_url_here.html">Link</a>
Adding rel="noopener noreferrer" is not mandatory, but it's a recommended security measure. More information can be found in the links below.
Source:
- MDN | HTML element
<a>| attributetarget - About rel=noopener
- Opens External Anchors Using rel="noopener"
Edge open new tab with blank page
How do I stop Google search results from opening a new tab?
html - Open link in new tab or window - Stack Overflow
Chrome behaves as hijacked. How can I reset the page that opens when clicking on New Tab?
Videos
You should add the target="_blank" and rel="noopener noreferrer" in the anchor tag.
For example:
<a target="_blank" rel="noopener noreferrer" href="http://your_url_here.html">Link</a>
Adding rel="noopener noreferrer" is not mandatory, but it's a recommended security measure. More information can be found in the links below.
Source:
- MDN | HTML element
<a>| attributetarget - About rel=noopener
- Opens External Anchors Using rel="noopener"
It shouldn't be your call to decide whether the link should open in a new tab or a new window, since ultimately this choice should be done by the settings of the user's browser. Some people like tabs; some like new windows.
Using _blank will tell the browser to use a new tab/window, depending on the user's browser configuration and how they click on the link (e.g. middle click, Ctrl+click, or normal click).
Additionally, some browsers don't have a tabs feature and therefore cannot open a link in a new tab, only in a new window.
Take a look at this, someone had a very similar problem.
Basically look in
%appdata%/local/Google/Chrome/Userdata/profilename and check the files for URLs.
https://www.reddit.com/r/chrome/comments/1862p05/found_a_solution_to_the_chromenewtab_yahoobingetc/
A user contacted me because opening a new tab doesn’t open the typical Google start page, that has the search bar in the center, the shortcuts underneath, etc. It tries to open a fishy site that the browser itself blocks as “not private”.
I cannot find a way to reset the behavior of New Tab. The user only had three kosher extensions and I disabled them anyway, I reset chrome settings, no luck. I poked around the registry, chrome://policy, flags… nothing. I did a complete scan of the machine, nothing. I can only think of uninstalling Chrome and reinstalling, but this user is very tech limited and I’m afraid he’ll be missing something that he can’t explain or whatever.
is there any way to change the behavior of the new tab??
Thanks