Skip to content Skip to sidebar Skip to footer

Programatically Open The Url In New Tab In Chromium Browser Using Javascript

I have a web application where I have four/five icons in the default page. On click of these icons i am redirecting to some URL in new tab of already opened chromium browser instan

Solution 1:

give a try to use

<ahref="some url"target="_newtab">content of the anchor</a>

Although You shouldn't force user to open new pages or new tab without showing them a hint on what is going to happen before they click on the link.

Above code may or may not work on all browser, please test before making live.

UPDATE

Ref : Programmatically open new pages on Tabs

Post a Comment for "Programatically Open The Url In New Tab In Chromium Browser Using Javascript"