-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browserosaurus does not show when opening downloaded html file #564
Comments
Thanks. I've not heard of |
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:
But if we use 'B', it fails if you use the command:
So I'm thinking there must be some way for 'B' to be configured to accept input using the standard MacOS open command (from 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 |
This should now be fixed in v20.9.1 but let me know if you still have issues with it. |
I've just upgraded and I don't see any changed behaviour based on the original steps to reproduce. I'm running Sonoma 14.6.1 with B 20.9.1. |
Strange, seems to be okay for me. Your command works with B too. |
Strange indeed. Neither works for me... Untitled.mp4 |
You're right; just tried it on my work machine and it still doesn't work. Boo 😭 |
Add this to your Info.plist, should work afterwards <key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconSystemGenerated</key>
<integer>1</integer>
<key>CFBundleTypeName</key>
<string>HTML document</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Default</string>
<key>LSItemContentTypes</key>
<array>
<string>public.html</string>
</array>
</dict>
<dict>
<key>CFBundleTypeIconSystemGenerated</key>
<integer>1</integer>
<key>CFBundleTypeName</key>
<string>XHTML document</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Default</string>
<key>LSItemContentTypes</key>
<array>
<string>public.xhtml</string>
</array>
</dict>
</array> |
@AlexStrNik thanks. Could you please test and PR that? I can see it says “public.html”. Is that a special string? Otherwise won’t it only work for files called “public”? |
I'm sorry, maybe next week I will have more free time. "public.html" is a special string, I'm not sure why it is like this, but it works for me. |
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
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 withxattr -d com.apple.quarantine index.html
allows the browser picker to appear as expected.The text was updated successfully, but these errors were encountered: