Comments (21)
@will-stone the dim / !dim is one neat visual cue. 😊
from browserosaurus.
Thanks! Be careful with future versions though as I do like to break things 😆 (although v4 is basically done) Nice suggestion. I’ll have a look into how this can be accomplished and whether it’ll fit into how B is currently written.
from browserosaurus.
Definitely agree, my thinking was to darken (make translucent) the apps that aren't supported when alt is held. I promise I'll get to this when this minor crisis is resolved.
from browserosaurus.
Okay, I have this working! For the brave, please test-out this branch: https://github.com/will-stone/browserosaurus/tree/feat/open-in-background
It's currently only working with Firefox and Safari. The command seems to have stopped working with Chrome. Without Chrome support, I'd say this is not a great addition, as it's the most popular browser. Anyway, if you figure it out, just add the command to the optCmd
key of the Chrome entry in the src/config/activities.ts
file.
from browserosaurus.
Noted Will. Just checking its pulse. Yes, i think releasing it soon is better because many including myself are using it on a constant basis so if something breaks, we will know quickly and can open an issue.
from browserosaurus.
Okay chaps, this has been released in v6.3.0. Please let me know if you find any bugs.
from browserosaurus.
You should be able to use the -g
flag to open urls in the background, after checking if the modifier key was pressed. Safari, Chrome and Airmail use the command
key as the 'open in background' modifier which should be suitable.
open -a Safari -g "http://google.com"
from browserosaurus.
Thanks! I’ll look into adding this in a branch soon.
from browserosaurus.
@blakejakopovic I've started this but am noticing that some browsers don't like -g
and with some browsers it only works if the browser is already open. Here's my findings so far:
Working
- Chrome
- Firefox
- Min
- Opera
- Safari
Not working (just brings browser to front as normal)
- Brave
- Chromium
from browserosaurus.
Regarding Brave, maybe the issue is related to brave/browser-laptop#10492?
Maybe option to always switch to new tab is enabled and that's causing the observed behaviour?
from browserosaurus.
Brave moved their repo but I think this is the same issue: brave/brave-browser#4052
from browserosaurus.
@blakejakopovic I've started this but am noticing that some browsers don't like
-g
and with some browsers it only works if the browser is already open. Here's my findings so far:Working
* Chrome * Firefox * Min * Opera * Safari
Not working (just brings browser to front as normal)
* Brave * Chromium
@will-stone my suggestion is to enable background url opening feature for those browsers above that already support it. Brave and Chromium can follow later when the time comes. This way, people using those 5 browsers can start using this new feature right away. What do you think?
from browserosaurus.
from browserosaurus.
Please don't use a modifier key to implement behavior change, that breaks the normal behavior to open a link in a console or in some software. I.e. in Alacritty, I have to hold shift to open links, in Iterm2 people have to hold cmd, and I'm sure some other software uses meta.
Nvm, holding a modifier when choosing the browser is fine, I thought it was required when clicking the link.
from browserosaurus.
@bendem That's been my thinking behind this thread: #98
from browserosaurus.
@will-stone Just want to confirm whether this feature is still streaming ahead for adoption to main branch or halted due to chrome incompatibility?
from browserosaurus.
It’ll make master, I’ve just been busy recently. I wanna kick the tyres with it a bit more though as it seemed a bit flakey last time I tried to use it. But I suppose I can always release it and you guys tell me what doesn’t work.
from browserosaurus.
Awesome! Will do. Thanks @will-stone
from browserosaurus.
Works fine for safari which I don't use, missing from firefox and chrome, but I guess that's going to come in the future.
from browserosaurus.
I use firefox nightly as my main browser, I guess the fact that it's nightly doesn't help?
from browserosaurus.
@bendem Chrome doesn't support the feature so I can't add that. It's working for Firefox for me. As for Nightly, it probably would work, I've just not tested it so it has not been activated for that browser. Feel free to add it and PR if it works fine for you. Please note, you must hold alt / opt
after opening the picker, not whilst clicking the link. Whilst picker is open and holding alt
, the browsers that support open-in-background will stay lit, whilst those that do not will dim slightly.
from browserosaurus.
Related Issues (20)
- Arc browser not supported HOT 3
- spinning circle in V. 20.x HOT 6
- Regression: Look for browsers also under ~/Applications folder HOT 2
- Issues with full screen apps. HOT 1
- c HOT 1
- Not possible to add key on 20.2.1 HOT 6
- JavaScript error occurred HOT 1
- When working with multiple screens, Browserosaurus will change to main display. HOT 1
- 'Restore recently closed URL' does not work when the app is relaunched HOT 4
- Not seeing separate entries for EDGE (Mac) and EDGE (Windows) on Mac with Parallels installed HOT 1
- The browser selection pop-up appears so briefly that selecting one isn't possible HOT 6
- browsers installed in ~/Applications isn't scanned
- The Browserosaurus Application does not sanitize external URLs before passing them to the underlying system. HOT 1
- When Using Mission Control Browserosarus Popup Always Opens on Desktop 1 HOT 1
- Clicking a link shifts focus to Google Chrome (one of my browsers), then a second click opens up Browserosaurus HOT 3
- Browserosaurus apparently no longer launching with other login items since updating to v20.6.1 HOT 4
- Firefox opens a blank tab rather than a link HOT 6
- A JavaScript error occurred in the main process HOT 3
- Browser is not detected by Browserosaurus HOT 1
- High memory usage 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 browserosaurus.