-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Add Profile support on Bookmarks for Edge browser #2101
base: dev
Are you sure you want to change the base?
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
{ | ||
try | ||
{ | ||
return c.Source.Split('(', ')')[1]; |
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.
what does this split mean?
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.
this is just a fancy way to extract the value between those chars
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.
Oh I see, so you are getting the content between the parenthesis?
@taooceros @VictoriousRaptor I've been using this since then and no issues at all |
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.
Please clarify when opening a bookmark from non-default browser set in Flow, on your current build. Haven't tested it yet but it looks like because API doesn't provide an option to specify browser so wrong profile args are sent to default browser.
~~ I've refactored the OpenUrl API for better future compatibility. ~~
On second thought we shouldn't touch API in this PR.
This comment has been minimized.
This comment has been minimized.
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view or the 📜action log for details. Unrecognized words (1)Firefox To accept ✔️ these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands... in a clone of the [email protected]:dantesg/Flow.Launcher.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/Flow-Launcher/Flow.Launcher/actions/runs/4961201103/attempts/1' If the flagged items are 🤯 false positivesIf items relate to a ...
|
@VictoriousRaptor You're correct. Haven't notice this before.
It's not a scenario I would run into but it's worth considering. Perhaps in the future we could extend the bookmark plugin to also keep track of browser absolute path somehow but for now it only spawns the default browser as-is on current implementation. Currently if I have a bookmark on Firefox and open it, it'll also open on default browser Edge, not Firefox. Happy to close this PR as not suitable to everyone if you think the workflow above can/will be too confusing. I want to hear your thoughts on this one before putting more work into this one. |
So this is what the default browser settings's about. API only provides the function to open a url in default browser. A reasonable solution is to implement a browser selection feature in Bookmarks plugin to open the bookmark in the browser and profile as is. |
This allows user to open bookmarks taking into consideration which profile the bookmark is on.
I use Edge so it's well tested on it. I assume it should also work on Chrome. I don't use Firefox on a daily basis.
Here's what it looks like: