Comments (6)
I see there's a rules
section in the config.json file but it's not clear to me what that does or how I'd use it: does that functionality replace Finicky in my scenario? Could I build regex patterns that automatically direct certain URLs to certain browsers here? If so, I could probably streamline my setup and also work around this issue at the same time.
from browsers.
I will eventually plan to add a GUI for settings, but yep you found the settings file can do some things already.
There is some documentation at #34
I didn't pick regex for the syntax, but kind of glob-like patterns. I would be interested to get some feedback if that covers the need for you or not.
The easiest way to find the profile
id is from the cache file. Or if you re-order the browser, then the id is also visible in the config file.
from browsers.
I'll look into that! I could share a [sanitized] version of my finicky.js if you think that would help you as a more experienced reader say if the rules functionality replicates what I'm doing.
In the meantime, is there a way to block Browsers from continuing to prompt to be set as default? That also handles the issue perfectly.
from browsers.
OK, I took some time today and converted all my regular expression browser rules to your glob format. It worked great for my basic use cases, which is just intercepting a bunch of root and sub-domains and directing them to my "work" browser config. I could see situations where the regular expressions would be more powerful if you wanted more fine-grained control over these patterns (e.g. "open this Google doc in Chrome and this one in Safari") but those are probably edge cases.
A quick proper doc for this would be super helpful, even though it's just JSON and pretty clear from your PR. That PR comment is about 90% of the way to being product-ready doc IMO, though it has a few minor errors that stop it from being used directly (missing commas, comments disallowed, some more examples)
As a result I've changed my default browser to Browsers and pulled Finicky out of the mix entirely. I still think better control over the default browser prompt would be worth adding to Browsers but it is no longer a specific problem I have.
Now, we just need to figure out how to get the menu to exit more easily when it loses focus and this is a perfect solution!
from browsers.
Hmm. I definitely didn't intend it to request to be default browser on every launch. Thanks for reporting it.
from browsers.
Should be fixed in 0.4.1
from browsers.
Related Issues (20)
- 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
- Trying to create a rule that opens all links from Mail in Safari HOT 4
- Window too small on HiDPI screens HOT 3
- 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
- Easier access to rules editor HOT 2
- Browsers does not detect Waterfox HOT 2
- Follow redirects and match rules against the eventual destination HOT 1
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.