The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Firefox shift right-click forces context menu (via Frederik Braun). It reminds me of Windows 11 using this to show the full Windows 10 context menu

Posted by jpluimers on 2023/12/11

[Wayback/Archive] Frederik Braun �: “Annoyed that a website is doin…” – security.plumbing

Annoyed that a website is doing something custom on right-click?
Did you expect the browser’s context menu (Back, Reload, Save Page As, View Source etc.)?

Just hold the ⇧Shift key while clicking and Firefox will show the built-in context menu.

It reminded me of Windows 11 first crippling the context menu, then allowing shift right-click to show the Windows 10 context menu:

[Wayback/Archive] Jeroen Wiert Pluimers: “@freddy this feels similar to …” – Mastodon

@freddy this feels similar to Windows 11 “improving” the right-click context menu by crippling it, so now everyone uses shift-right-click to get the original Windows 10 context menu behaviour.

[Wayback/Archive] Dave: “@wiert Here, have the legacy menu permanently (if your group policy admin didn’t block you from using it): https://answers.microsoft.com/en-us/wi…” – MastoKIF

@wiert Here, have the legacy menu permanently (if your group policy admin didn’t block you from using it): [Wayback/Archive] Restore old Right-click Context menu in Windows 11 – Microsoft Community

From that comment, I found back the original Reddit source I made a note of to accomplish this and more at [Wayback/Archive] How-To: Disable new context menu, Explorer command bar : Windows11

No 3rd-party apps or patches or whatever, just a simple registry value.
Restart Explorer shell to take effect.
Disable new context menu:
reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
Restore new context menu:
reg.exe delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
Disable Explorer command bar:
reg.exe add "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32" /f /ve
Restore Explorer command bar:
reg.exe delete "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}" /f

where the /ve means to create an empty (“Default”) value under the specified registry key.

For all of the above commands: restart Windows Explorer afterwards as per Restart Windows explorer with an UAC administrator token

taskkill /f /im explorer.exe; start explorer

--jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.