# \[IGN-8841\] Perspective | Hyperlink | CTRL + Clic

**URL:** <https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 11, 2023, 12:48pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971 "2023-12-11T12:48:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [December 11, 2023, 12:48pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971/1 "2023-12-11T12:48:19Z")

</div>

I'm on 8.1.33

There is a way that hyperlink ctrl+clic open the link into a new tab without using scripting event?

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [December 11, 2023, 2:29pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971/2 "2023-12-11T14:29:34Z")

</div>

Can use a navigation event to go to any URL, there will be an option to open as a new tab.  
Though I'm not sure how you'd check if the ctrl key is being pressed, if it was possible.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 11, 2023, 2:35pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971/3 "2023-12-11T14:35:34Z")

</div>

> [@luc.martin](#):
>
> hyperlink ctrl+clic

If you mean in a Perspective session in a browser, then most browsers offer Right-Click | Open in new tab ...

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [December 11, 2023, 3:07pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971/4 "2023-12-11T15:07:45Z")

</div>

Right-Click work well, but I don't want to pass by it, I want to use directly CTRL-Click but don't want to have to create a scripting event on it.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 11, 2023, 4:07pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971/6 "2023-12-11T16:07:12Z")

</div>

The answer to the OP question is to use the Link component?  
[https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Link](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Link)

If you make it a link, it will be emitted to the DOM as a regular-ol-`<a>` element. Then it's up to the user agent (the browser) to interpret a click/ctrl click/long press/etc as whatever link clicking action to either open in the user's current tab or a new tab, _per what the user has defined_.

If you want control, you have to use scripting. If you want standard behavior for users, you have to use the Link component.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [December 11, 2023, 5:01pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971/7 "2023-12-11T17:01:27Z")

</div>

I tried Link component with Chrome, Firefox, Edge and only the Right+Click works, CTRL+Click doesn't open link in new tab like any other website

---

<div class="post-metadata">

**Author:** ![fajean](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@fajean](https://forum.inductiveautomation.com/u/fajean)\
**Post date:** [December 11, 2023, 7:00pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971/8 "2023-12-11T19:00:22Z")

</div>

Just to make sure we are clear (Luc's colleague here), we did try to use a link. When we do, if we right-click the link (Chrome), we have "open in a new tab" in the menu and it works. If we CTRL-click the link, it does not open in a new tab like the same browser does usually. It seems there is something that disrupts the browser from seeing this as a normal link, but somehow only when CTRL-clicking.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [December 11, 2023, 10:25pm UTC](https://forum.inductiveautomation.com/t/ign-8841-perspective-hyperlink-ctrl-clic/82971/9 "2023-12-11T22:25:26Z")

</div>

This does appear to be a bug, though it's unclear if we're preventing the requested/desired behavior, or if its a consequence of our key-handling during click events. I've opened an internal ticket to investigate and see about a potential fix.
