Page 1 of 1

Custom Protocol Support

Posted: Fri Jun 13, 2025 3:42 pm
by cobolstinks
Is it possible to enable custom protocols inside the PWB browser? I want to develop a webapp that has a link to "ahktest://paramhere". Where ahktest:// is registered in the windows registry and linked to my custom script. I have the webapp working locally but when I load the webpage in PWB it doesn't work. I click the button and nothing.

I attempted to set some INI settings to enable this but failed so far.

ProtocolFilterFile=protocols.txt
CheckProtocolAccess=TRUE

and then in my protocols.txt I have this:

http://
https://
ahktest://
file://

is it possible to use my custom protocol with PWB?

Re: Custom Protocol Support

Posted: Wed Jun 18, 2025 9:18 am
by Scott
The protocol filters in PWB are more to block a protocol such as FTP than it is to enable custom protocols.

Current PWB does not support custom protocols, but it is possible for us to develop the option.

Please email support @ teamsoftwaresolutions.com directly and we would be happy to work with you to enable custom protocols in PWB.

--Scott

Re: Custom Protocol Support

Posted: Thu Jun 19, 2025 11:03 am
by Scott
We added the following undocumented feature to PWB 3.20.05 which will enable the custom protocol handlers in the underlying Edge browser.

[Security]
EnableCustomProtocolHandlers=True

Please note this is still untested so it may not work out of the gate.

--Scott