# How to disable "Open in new tab" "open in new window" in Kibana

**URL:** <https://discuss.elastic.co/t/how-to-disable-open-in-new-tab-open-in-new-window-in-kibana/244186>\
**Category:** Kibana\
**Created:** [August 7, 2020, 2:42pm UTC](https://discuss.elastic.co/t/how-to-disable-open-in-new-tab-open-in-new-window-in-kibana/244186 "2020-08-07T14:42:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenet\_testuser1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tenet_testuser1/32/67526_2.png) [@tenet\_testuser1](https://discuss.elastic.co/u/tenet_testuser1)\
**Post date:** [August 7, 2020, 2:42pm UTC](https://discuss.elastic.co/t/how-to-disable-open-in-new-tab-open-in-new-window-in-kibana/244186/1 "2020-08-07T14:42:16Z")

</div>

How do I disable open in new tab or new window from a Kibana Dashboard report that has "URL TEMPLATE" links.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [August 12, 2020, 4:38pm UTC](https://discuss.elastic.co/t/how-to-disable-open-in-new-tab-open-in-new-window-in-kibana/244186/2 "2020-08-12T16:38:19Z")

</div>

Can you provide more details or a screen shot? What "open in new tab" or "new window" links are you referring to?

Those options are provided by the browser when you right click on an link

 ![Screen Shot 2020-08-12 at 10.37.10 AM](https://us1.discourse-cdn.com/elastic/original/3X/9/2/92ef62461ec21b9123e8a888aa8a3b14430a6b70.png)

---

<div class="post-metadata">

**Author:** ![tenet\_testuser1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tenet_testuser1/32/67526_2.png) [@tenet\_testuser1](https://discuss.elastic.co/u/tenet_testuser1)\
**Post date:** [August 12, 2020, 5:41pm UTC](https://discuss.elastic.co/t/how-to-disable-open-in-new-tab-open-in-new-window-in-kibana/244186/3 "2020-08-12T17:41:11Z")

</div>

Yes, I'm aware that it's a browser feature.

I'll explain the problem perhaps that'll help.

Kibana index pattern offers a filed to be treated as a url and takes in a url template with {{value}} to be passed. I have a report that uses this feature.

I have a react app in which, kibana iframes are embedded. When I "left click" on the link for a given {{value}} everything works fine.

However, when I right click on the url link for a given {{value}} and say " open In new tab or new window",

The url on the browser becomes [https://domain/app/kibana#/visualize/edit](https://domain/app/kibana#/visualize/edit)........

Due to this, now all the visualizations, dashboards in their "raw" kibana form is open for users which is a problem.

I need to avoid this and keep the users within an iframe window.

One option I thought is to return a 404 from nginx when the url has a "Kibana#" bit this breaks the app completely.

Another option I thought was to somehow disable "open in new tab/window" in kibana.

If this is not possible, I would like to know if there are other options.

---

<div class="post-metadata">

**Author:** ![jyotsna.ganji](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jyotsna.ganji/32/71540_2.png) [@jyotsna.ganji](https://discuss.elastic.co/u/jyotsna.ganji)\
**Post date:** [September 4, 2020, 9:00am UTC](https://discuss.elastic.co/t/how-to-disable-open-in-new-tab-open-in-new-window-in-kibana/244186/4 "2020-09-04T09:00:13Z")

</div>

We are in a similar situation. Any workaround identified for this? We want to disable "open in a new window" for the iframe link of the dashboard.

---

<div class="post-metadata">

**Author:** ![tenet\_testuser1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tenet_testuser1/32/67526_2.png) [@tenet\_testuser1](https://discuss.elastic.co/u/tenet_testuser1)\
**Post date:** [September 5, 2020, 1:57am UTC](https://discuss.elastic.co/t/how-to-disable-open-in-new-tab-open-in-new-window-in-kibana/244186/5 "2020-09-05T01:57:32Z")

</div>

Sorry no solution yet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 3, 2020, 1:57am UTC](https://discuss.elastic.co/t/how-to-disable-open-in-new-tab-open-in-new-window-in-kibana/244186/6 "2020-10-03T01:57:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
