Comments (4)
Hey. You can use "**" as url_pattern
{
"source_app": "com.apple.mail",
"url_pattern": "**",
"opener": {
"profile": "/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app/Contents/MacOS/Safari#",
"incognito": false
},
"profile": "",
"incognito": false
}
from browsers.
I tried that but it still opens in Arc - here's a more complete picture of what I'm trying to do.
I have Arc configured to pick up all "docs.google.com" links. But sometimes, I get an email to my personal account that has an embedded Google docs link. That email will always come in from Mail.app. I want Browsers to recognize that I clicked on a link matching that pattern (or any link) from that app, and route it to Safari instead of my work-configured Arc instance.
So, I have an existing URL matcher rule:
{
"source_app": null,
"url_pattern": "*://docs.google.com/**",
"opener": {
"profile": "/Applications/Arc.app/Contents/MacOS/Arc#",
"incognito": false
},
"profile": "",
"incognito": false
},
And this one always seems to win over the "open ** from mail.app in Safari" rule
from browsers.
I tried changing the order, moving the mail one to top, and that did do the trick for me.
Just in case, exit Browsers while editing the config file, let me know if that helped.
from browsers.
Yes! Ok, so I needed two things. To have the rules in the right order and to correct the URL matching pattern. Now this works as expected. Appreciate the help and great app as always 😄
from browsers.
Related Issues (20)
- Documentation for config.json or an example HOT 2
- Window appearing beneath Snap application HOT 6
- Rules in config.json do not work HOT 10
- Icon-related crash on Linux regression of #12 HOT 4
- Donating to Browsers HOT 1
- Browsers seems to cause Arc to crash HOT 5
- Enabling quit_on_lost_focus makes the "About" dialog not functional 😄 HOT 1
- Windows false positive match for `Trojan:Win32/Bearfoos.A!ml` HOT 1
- %THIS_DIR% not always set correctly. Uncaught error. HOT 5
- Nix(OS) support HOT 8
- Browsers still shows uninstalled apps/profiles, even after a refresh HOT 2
- Since updating to 0.5.2, Arc does not open automatically based on rules in config.json HOT 2
- Mullvad support HOT 6
- iCloud Sync HOT 1
- Match google oauth client_id HOT 2
- Window too small on HiDPI screens HOT 2
- Popup isnt shown in Intellj Idea HOT 2
- Safari doesn't "open" automatically anymore HOT 4
- Flatpak browser all end up with the same executable_path HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browsers.