win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
1.84k stars 61 forks source link

[Bug] Missing "Incognito" registry entries (BrokenURL) #615

Open Darthagnon opened 1 month ago

Darthagnon commented 1 month ago

Describe the bug I use BrokenURL as my default browser, because I use multiple browsers on my PC for testing webdev stuff, and I prefer a confirmation before any web calls are made.

It automatically provides a list of browsers that are installed by looking in the registry (some older/obscure browsers must be manually added, and will lack Incognito/new window options). All automatically-added browsers have "Incognito" and "New Page" options available for opening mods, presumably pulled from the registry?

Supermium used to have these entries for opening it, but now they are missing (see screenshot)

To Reproduce Steps to reproduce the behavior:

  1. Install BrokenURL, set it as default browser
  2. Install older Supermium
  3. Open a web call (URL or link)
  4. BrokenURL's auto list of browsers includes Supermium with Incognito and New Window opening options
  5. Install newer Supermium (e.g. v122r6)
  6. Open a web call (URL or link)
  7. BrokenURL's auto list of browsers includes Supermium, but no longer has Incognito and New Window options

Expected behavior Supermium should be listed with Incognito and New Window opening options; presumably it's a registry key somewhere. If it's missing from BrokenURL's default list, it could be missing from other default places it's needed in Windows. Strangely, it is present in the taskbar's jumplist.

Screenshots Idle_240523_79

Desktop (please complete the following information):

Darthagnon commented 1 month ago

Chromium has the following settings automatically applied - is there a registry key where these are stored? For the moment, I will add those arguments manually to Supermium launch.

BrokenUrl_240523_80

Darthagnon commented 1 month ago

I think this might be an issue with BrokenURL.

Workaround:

  1. Delete C:\Users\<Username>\AppData\Roaming\BrokenEvent.BrokenUrl\BrowserSettings.xml
  2. Replace C:\Program Files (x86)\BrokenURL\BrowserDefaultSettings.xml with the updated version attached.
  3. BrokenURL should now work perfectly with Incognito and New Window shortcuts for Supermium, Tor Browser, and Internet Explorer (NB. Internet explorer is complicated so I put kiosk mode for "New Window") BrowserDefaultSettings.zip
win32ss commented 1 month ago

Chromium has the following settings automatically applied - is there a registry key where these are stored? For the moment, I will add those arguments manually to Supermium launch.

That browser identifier is referenced in HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet, but Supermium is actually named "Supemium" because of a character limit introduced in Windows 8 on the application names. The browser identifier is "SupermiumHTM" as there are no length issues there.