finicky
finicky copied to clipboard
finicky does not work on Mojave 10.14.6
Hello and thanks for finicky,
is this configuration correct? When I click on a google or youtube link in Safari, the url is opened in Safari and not Chrome.
module.exports = {
defaultBrowser: "Safari",
handlers: [
{
match: [
".*youtube.com.*",
".*youtu.be.*",
".*google.com.*",
],
browser: "Google Chrome"
}
]
}
I don't have a solution but just wanted to add that I am experiencing limited functionality on Mojave (10.14.6). For me, the defaultBrowser function works and properly controls the default web browser selection, however the handlers do not work, meaning an URL does not get processed to find a match for one of the handlers. No matter if a URL matches a handler's RegEx or not, the URL gets opened with the default web browser specified in the .finicky.js config file.
Hello @paoloboschini. Sorry for not responding earlier, I missed this issue.
Finicky supports both matching on regular expression as well as wild card strings. To use regular expressions you need to use the regex literal in javascript, that is /".*youtube.com.*/ and not the strings you are attempting. You could also try using the wildcard strings, which would be for example "youtube.com". Both examples would technically also match more than just youtube.com, also anotheryoutube.com would also match.
@SwineBurglar Please post an issue with your config and I can attempt to troubleshoot it for you.