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.

Make desktop links open in the default browser

See original GitHub issue

Problem

Some background information: our desktop application is built using a technology called Electron.js, and in a nutshell it works by creating a sandboxed browser and uses the Chromium javascript engine to render your application in the browser window.

So when you click on links in the desktop app, it displays the webpage inside the sandboxed browser (from the users perspective, inside our application!). We don’t want to do this, and instead, we should open links in a new tab in the default browser.

Marking this as critical because it allows us to land in situations where the only way to return to the app is to kill the application and restart it.

Solution

Make the React-Native <Anchor> component open a new tab by default in:

  • The current browser if the platform is web
  • The system default browser if the platform is desktop

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jbonifacecommented, Aug 28, 2020

This appears to be working already

0reactions
stitesExpensifycommented, Sep 2, 2020

This is now fixed again

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows: Make Shortcut Open Website with Specific Browser
Right-click a blank area of the desktop and select “New” > “Shortcut“. · Provide the name for the shortcut. You will probably want...
Read more >
How to make a Shortcut open with a Specific Browser
Copy the URL, right click the desktop, New>Create Shortcut, Paste URL Done! This tutorial applies to Windows. Open Shortcut with Different ...
Read more >
How to Open Shortcut with Specific Browser in Windows 7
Click Start. · Choose All Programs, then scroll to your browser. · Right-click on it and choose Send to, then Desktop (create shortcut)....
Read more >
How to Open a Desktop Internet Shortcut With a Different ...
1. Click the Windows orb and select "Default Programs" from the Start menu to open the Default Programs section of the Control Panel....
Read more >
Open a Web Page Desktop Shortcut in a Specific Browser
Find a Browser Path · Open the Start Menu (WINDOWS KEY or CTRL-ESCAPE) · Search for the browser you want to use (Edge,...
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