I had searched how to do it and had read How to find the default browser via the registry on Windows 10. I see that an app must sign itself on Win10 as a browser so Win10 allows user to set that app as default browser.
My intention though is that, when I click any http/https link that would open a browser, it instead opens Notepad++ or Notepad2 or any text editor, and it opens showing the URL that would be opened. So that I can copy that URL and open it on any browser I want.
Is it possible?
Yes, it is possible.
This example opens a command prompt and prints the URL.
C:\choose_browser.bat:
run_this_once.reg
After running the regedit file, your default browser will be changed to 'Browser Chooser':