browserosaurus icon indicating copy to clipboard operation
browserosaurus copied to clipboard

Browserosaurus does not show when opening downloaded html file

Open aaronkollasch opened this issue 2 years ago • 8 comments

Is there an existing issue for this?

Current Behaviour

When opening a downloaded html file, Browserosaurus grabs focus but no window appears.

Expected Behaviour

Browserosaurus shows the browser picker, a prompt to approve opening the file, or some error message stating that the file could not be opened.

Steps To Reproduce

  1. Download an html file from the web, e.g. https://example.com/index.html
  2. Right-click the file -> Open With -> Browserosaurus (or double-click if Browserosaurus is the default app for opening html files)

Browserosaurus version

19.0.0

macOS version

12.5

CPU Architecture

ARM

Anything else?

The downloaded file has the com.apple.quarantine attribute, and removing it with xattr -d com.apple.quarantine index.html allows the browser picker to appear as expected.

aaronkollasch avatar Aug 11 '22 20:08 aaronkollasch

Thanks. I've not heard of com.apple.quarantine, I'll have to do some reading up on that.

will-stone avatar Aug 12 '22 09:08 will-stone

I don't really know the solution here as Browserosaurus cannot see the incoming URL (file) 🤷‍♂️

will-stone avatar Aug 24 '22 18:08 will-stone

I don't really know the solution here as Browserosaurus cannot see the incoming URL (file) 🤷‍♂️

Hmm, I'm sure there must be a way to handle this since other apps can open the file directly. Consider these command prompt examples:

% open -a "Brave Browser" index.html
% open -a "Safari" index.html

But if we use 'B', it fails if you use the command:

% open -a "Browserosaurus" index.html

So I'm thinking there must be some way for 'B' to be configured to accept input using the standard MacOS open command (from /usr/bin/open).

EDIT: Perhaps it's just a different input type for 'file' versus 'URL' that 'B' needs to be enabled to parse and then pass onto a specific browser using a similar open command?

mreid-tt avatar Jan 10 '23 12:01 mreid-tt