question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Open Link in New Tab (target="_blank")

See original GitHub issue

When clicking a link where target="_blank" the resultant page loads in the current tab.

EG: <a href="https://www.github.com" target="_blank">GitHub</a> GitHub

The expected/conventional behaviour is to open such links in a new tab.

Can the app either adhere to the conventional behaviour or provide the ability to enable/disable it via the options menu?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
subsymboliccommented, Jan 8, 2020

This final fix for this is now merged and will be available in the next release. Thanks for reporting it @thecliguy and for helping us solve it @donfuxx.

0reactions
subsymboliccommented, Aug 8, 2019

A lot of users are asking for this so we have decided to add it. We’ll start by honoring the default behavior without a toggle but may introduce one if we need to later.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Open a Link in a New Tab – HTML target blank ...
You can use the target="_blank" attribute if you want your users to click on a link that opens up a new browser tab....
Read more >
How to Make Links Open in a New Window or Tab
How to Open Hyperlinks in a New Browser Tab or Window. The short answer is: just add a target="_blank" attribute to your links...
Read more >
HTML a target Attribute - W3Schools
The target attribute specifies where to open the linked document: ... _blank, Opens the linked document in a new window or tab. _self,...
Read more >
target=blank - CSS-Tricks
target ="_blank" is a special keyword that will open links in a new tab every time. target="blank" will open the first-clicked link in...
Read more >
How to Open Hyperlink in a New Window - W3docs
The target attribute determines where the linked document will open when the link is clicked. It opens the current window by default. To...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found