-
-
Notifications
You must be signed in to change notification settings - Fork 455
Use default system browser #214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…the way of getting default browser
| /// </summary> | ||
| public static void NewBrowserWindow(this string url, string browserPath = "") | ||
| { | ||
| browserPath = string.IsNullOrEmpty(browserPath) ? GetDefaultBrowserPath() : browserPath; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with getting the default browser from user, which could be any browser right, do we know if it will support opening in new window?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works on firefox and chromium-based browsers, and there is a fix for IE a few lines later.... I think this covers pretty much every browser.
|
Why are we changing the behaviour of opening hyperlinks in Flow from as a new window to as a tab? I think the core of the issue is supporting default browser right? |
JohnTheGr8
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we changing the behaviour of opening hyperlinks in Flow from as a new window to as a tab? I think the core of the issue is supporting default browser right?
opening in a new tab is expected behavior I think, no app opens links in a new window AFAIK...
|
Yes, and also we didn't provide the option for user to choose open in new window or tap. Besides, the default system behavior for browsers except is opening websites in new tab. |
|
Looks good to me. Good to go from you @JohnTheGr8 ? |
|
I will add Flow.Launcher.Plugin version bump to the 1.5.0 version bump pr once this goes in. |
#203 Use the Default Browsers in the computer instead of simply using chrome as default.