Questions tagged [custom-url-protocol]
34 questions
148
votes
6 answers
How do I register a custom URL protocol in Windows?
How do I register a custom protocol with Windows so that when clicking a link in an email or on a web page my application is opened and the parameters from the URL are passed to it?

lukeck
- 4,528
- 3
- 27
- 29
52
votes
3 answers
Android / iOS - Custom URI / Protocol Handling
Is there a way to define some kind of handling mechanism in Android and iOS that would allow me to do intercept either of the following:
myapp:///events/3/
- or -
http://myapp.com/events/3/
I'd like to 'listen' for either the protocol or the host,…

Josh
- 12,448
- 10
- 74
- 118
41
votes
7 answers
How to map a custom protocol to an application on the Mac?
I'm trying to register a custom protocol to an application on the Mac, i.e:
User clicks on link with "abcdef://some/url/here"
An installed application is launched with the above string passed as the first param
I've done this successfully on…

cliff.meyers
- 17,666
- 5
- 51
- 66
28
votes
2 answers
Open app and pass parameters with deep linking using Electron (macOS)
I want to open app and pass parameters with deep linking using Electron (macOS).
Project 'electron-deep-linking-mac-win' is on GitHub.
Edited package.json, following ‘electron-builder’ quick-setup-guide to produce mac installer:
{
"name":…

oikonomopo
- 4,025
- 7
- 44
- 73
23
votes
6 answers
Registering a URL protocol handler in a multiple platforms
I an wanting to create a Java application that is installed on multiple platforms (Windows,Mac OS, Linux) as a part of this install I wish to register a URL protocol handler, so that my app loads when links are clicked.
i.e. I want something like…

Dan
- 29,100
- 43
- 148
- 207
4
votes
4 answers
How can I associate a custom URL protocol with a ClickOnce app?
I want to associate a custom URL protocol (for example, myprotocol://SomeFolder/SomePage) with a ClickOnce application.
I can create the association without a problem - the issue is that every time the application is updated (which is frequently)…

Darren
- 4,408
- 4
- 39
- 57
4
votes
1 answer
How can you disable the `vscode://` URI security prompt in VSCode?
I'm developing in PHP and using Xdebug which i configured to turn file paths into vscode://file:/-links.
Until recently VSCode would simply open the file and jump to the specified line, but now it seems they have added an additional prompt in VSCode…

Function
- 73
- 1
- 6
3
votes
1 answer
How to make "URL Protocol" to launch application from its own directory instead of launching from c:\windows\system32?
I have registered a URL protocol in my system using below script to launch a batch file "showPath.bat".
@echo off
reg add HKEY_CLASSES_ROOT\ProtoTest /t REG_SZ /d "My Description" /f
reg add HKEY_CLASSES_ROOT\ProtoTest /v "URL Protocol" /t REG_SZ /d…

user1066231
- 551
- 1
- 7
- 27
3
votes
0 answers
iOS Universal Links and Outlook SafeLinks Protection
I have universal links implemented, working fine. I send an email to a user, then iOS will open the app if it's installed, or it will go to my website if not. At which point, I use apache mod_rewrite to redirect to a page which gives information on…

bandejapaisa
- 26,576
- 13
- 94
- 112
3
votes
0 answers
WKWebView XMLHttpRequest fails with custom url scheme
I'm building a mobile app using WKWebView. I register custom url schemes image:// and thumb:// to serve assets from the native part to the web part of the app.
webViewConfiguration.setURLSchemeHandler(handler, forURLScheme:…

Ivan Nikitin
- 3,578
- 27
- 39
3
votes
2 answers
MobaXterm URL Protocol Handler Usage
I am wanting to deploy a series of MobaXterm connections (SSH connections) to our users and would like to look at creating a webpage where the users can simply invoke a chosen session by clicking on a link.
I can see that MobaXterm supports this by…

l0ckm4
- 757
- 5
- 17
2
votes
0 answers
How to use URLSessionWebSocketTask + URLProtocol properly
Http connection + URLProtocol works fine. But now I try to include websockets in this scheme and it hasn't been working.
Here is websockets level:
var urlSession = URLSession(configuration: myConfiguration, delegate: nil, delegateQueue: .main) …

olle
- 61
- 1
- 1
- 4
2
votes
0 answers
Custom Url Protocol registration broken in Win11
We have a few applications that appear to have stopped working correctly since Windows 11, specifically with the removal of IE.
People can paste hyperlinks from the client software (two apps are WinForms, two are WPF) into a office document. On…

Griffin
- 21
- 2
2
votes
1 answer
Embed Custom URL Protocol in MS Teams Chat
We use Microsoft Teams desktop for daily communications. We have other tools which create custom URL protocol links which greatly aids communication via email, etc. The issue is Teams does not seem to recognize those URLs. It'll underline them…

Dan
- 89
- 6
2
votes
1 answer
What are all the custom URL schemes supported by the Workplace by Facebook iPhone app?
I am trying to open a group page in Workplace by Facebook app, unfortunately I did not find any custom URL scheme to do it like for the Facebook app.
Does anyone have more information about the custom url schema that can be sent to the Workplace by…

Pippolino
- 138
- 1
- 8