You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current implement of better-opn passes the entire url to openChrome.applescript to match an opened tab.
In some cases, when we debugging a web application, we navigate between urls and finally stay on another url that does not match the one passed to applescript.
This can especially happen when we set a specified url with some long pathname to better-opn, in our case it is host.com/login to ensure developers signed in first, but after that the url becomes host.com/some-module and cannot be matched against host.com/login.
We'd like to see an option to "loosely determine which tab to reuse" by passing only host.com to applescript.
The text was updated successfully, but these errors were encountered:
Since this is a new behaviour, users should opt-in to use this new feature.
For the sake of keeping the interface consistent with open, instead of adding a new attribute to options, we can use an environment variable to control this behaviour, i.e
Current implement of
better-opn
passes the entire url toopenChrome.applescript
to match an opened tab.In some cases, when we debugging a web application, we navigate between urls and finally stay on another url that does not match the one passed to applescript.
This can especially happen when we set a specified url with some long pathname to
better-opn
, in our case it ishost.com/login
to ensure developers signed in first, but after that the url becomeshost.com/some-module
and cannot be matched againsthost.com/login
.We'd like to see an option to "loosely determine which tab to reuse" by passing only
host.com
to applescript.The text was updated successfully, but these errors were encountered: