Skip to content
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

URLDispatcher + Epichrome not working #16

Open
j2348 opened this issue Sep 10, 2020 · 2 comments
Open

URLDispatcher + Epichrome not working #16

j2348 opened this issue Sep 10, 2020 · 2 comments

Comments

@j2348
Copy link

j2348 commented Sep 10, 2020

Hi @zzamboni ,

URLDispatcher + Epichrome does not work for me. I am trying to use it in basically the same way as at https://github.com/zzamboni/dot-hammerspoon/blob/master/init.org#url-dispatching-to-site-specific-browsers. When I open a url that matches the url_pattern, the epichrome app is activated, but the url does not open. Does URLDispatcher + Epichrome work for you?

I saw in https://freenode.logbot.info/hammerspoon/20200311 that it was not working for anyone 6 months ago. Is that still the case or has the issue from https://freenode.logbot.info/hammerspoon/20200311 been fixed?

@zzamboni
Copy link
Owner

@j2348 are you using an Epichrome Chrome-based app? I noticed some time ago that Chrome-based apps were still having that problem, but Brave-based apps work fine. Since I switched all my Epichrome SSBs to the Brave engine, I have not seen it again. I reported this in dmarmor/epichrome#208 (comment)

@j2348
Copy link
Author

j2348 commented Sep 12, 2020

Hi @zzamboni ,

I was using Epichrome 2.3.9 (now I'm using Epichrome 2.3.10) and it was Brave-based.

I got it working by commenting out this line. I'm not sure why hs.application.launchOrFocusByBundleID(id) would cause this issue, but it works once it's removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants