Skip to content
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

Links opened via URLCheck in Chromium-based browsers only open the browser #401

Open
3 tasks done
voxelized-voxel opened this issue Nov 26, 2024 · 5 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@voxelized-voxel
Copy link

voxelized-voxel commented Nov 26, 2024

Steps to reproduce

  1. Set "Incognito Mode" to "enabled by default" or "always on" within the modules > open and share settings.
  2. Click on a link.
  3. Open it with a Chromium-based browser, such as Brave, Chrome, etc.

Expected behavior

The link should open within the browser in Incognito mode.

Actual behavior

Only the browser app launches, and it does not open in Incognito mode.

URLCheck version

3.0

Android version

Android 14

Android Custom/Specific ROM or Device

One UI

Other details

Acknowledgements

  • I have searched the existing issues and this is a new ticket, not a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@voxelized-voxel voxelized-voxel added the bug Something isn't working label Nov 26, 2024
@eiqnepm
Copy link

eiqnepm commented Dec 21, 2024

I'm having this issue too on Android 15.

@TrianguloY
Copy link
Owner

Wait, I never commented here? Strange.

This is a known issue, or rather is a known lack of feature. The incognito button only works for Firefox, as chrome lacks any official api to do so (Firefox on the other hand does have one).
With some chromium variants (I think Brave?) you may be able to enable a flag, but this is untested.

There is a pending pr to enable a proper workaround, but I still need to review it.

@eiqnepm
Copy link

eiqnepm commented Dec 21, 2024

This is a known issue, or rather is a known lack of feature. The incognito button only works for Firefox, as chrome lacks any official api to do so (Firefox on the other hand does have one).

I see, thanks for the update

With some chromium variants (I think Brave?) you may be able to enable a flag, but this is untested.

Chrome actually has this flag too but it doesn't seem to do anything.

chrome://flags/#cct-incognito-available-to-third-party

@TrianguloY
Copy link
Owner

Chrome actually has this flag too but it doesn't seem to do anything.

chrome://flags/#cct-incognito-available-to-third-party

That's the one, but even with that name I think it's not available to non-google apps. In theory with that enabled there is an extra that any app should be able to send to trigger it.

URKCheck does send that required extra, because once I read that brave has "enabled" that, although as I said the documentation was not clear enough and a user reported it does not work.
I keep the extra just in case, but...google doesn't seem interested on that.

@voxelized-voxel
Copy link
Author

Alright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants