UrlChecker icon indicating copy to clipboard operation
UrlChecker copied to clipboard

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

Open voxelized-voxel opened this issue 11 months ago • 5 comments
trafficstars

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

  • [X] I have searched the existing issues and this is a new ticket, not a duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I will fill out all of the requested information in this form.

voxelized-voxel avatar Nov 26 '24 09:11 voxelized-voxel

I'm having this issue too on Android 15.

eiqnepm avatar Dec 21 '24 21:12 eiqnepm

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.

TrianguloY avatar Dec 21 '24 21:12 TrianguloY

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

eiqnepm avatar Dec 21 '24 21:12 eiqnepm

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.

TrianguloY avatar Dec 21 '24 21:12 TrianguloY

Alright.

ghost avatar Jan 02 '25 22:01 ghost