# Inconsistent behaviour with “Open all external links in a new tab” option

**URL:** https://meta.discourse.org/t/inconsistent-behaviour-with-open-all-external-links-in-a-new-tab-option/115956
**Category:** Bug
**Created:** [April 25, 2019, 12:58pm UTC](https://meta.discourse.org/t/inconsistent-behaviour-with-open-all-external-links-in-a-new-tab-option/115956 "2019-04-25T12:58:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)
#### Post date: [April 25, 2019, 12:58pm UTC](https://meta.discourse.org/t/inconsistent-behaviour-with-open-all-external-links-in-a-new-tab-option/115956/1 "2019-04-25T12:58:19Z")

</div>

Hello.

This issue has been brought a few times already and I see some PR code fix were also submitted.  
Maybe it has worked some times since the fixes.

But at the moment I still have inconsistencies with this “ **Open all external links in a new tab** ” option:

As I have this option activated, I expect any external link will open in a new tab.  
I don’t have to think that in this or that context I should make a special click to open in a new tab as my regular left click should open all of them in a new tab.

That is how a full time “ **Open all external links in a new tab** ” user expects the site to work.

* * *

## Reproduce the bug

First check “ **Open all external links in a new tab** ” option in your [interface settings](https://meta.discourse.org/u/jesus2099/preferences/interface) and save.

Then:

- It does not work in quoted text: [Click one of the two “ **Our partners - VideoLAN** ” external links in that quoted text](https://meta.discourse.org/t/external-links-in-quoted-text-don-t-follow-open-all-external-links-in-a-new-tab-setting/44349/2), it will open in current tab instead of new tab
- It does not work in edit history: [Click one of the three external links in that edit history (the upper‐right **✎** pencil icon)](https://meta.discourse.org/t/open-all-external-links-in-a-new-tab-option-does-not-work-for-protocol-agnostic-links/42224), it will open in current tab instead of new tab

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [April 25, 2019, 1:55pm UTC](https://meta.discourse.org/t/inconsistent-behaviour-with-open-all-external-links-in-a-new-tab-option/115956/4 "2019-04-25T13:55:59Z")

</div>

Thanks for the report @jesus2099, it looks like this could be related to our recent click tracking changes. We will look into it

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [April 29, 2019, 2:16pm UTC](https://meta.discourse.org/t/inconsistent-behaviour-with-open-all-external-links-in-a-new-tab-option/115956/7 "2019-04-29T14:16:20Z")

</div>

This should be fixed in [FIX: Respect "open external links in new window" in quotes and edit h… · discourse/discourse@ca9fd95 · GitHub](https://github.com/discourse/discourse/commit/ca9fd95a08dd6fdfd69a60dbe53ac566be2d31df), thanks for the report.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [April 30, 2019, 10:00pm UTC](https://meta.discourse.org/t/inconsistent-behaviour-with-open-all-external-links-in-a-new-tab-option/115956/11 "2019-04-30T22:00:10Z")

</div>

This topic was automatically closed after 31 hours. New replies are no longer allowed.
