Questions tagged [custom-protocol]
83 questions
99
votes
7 answers
Custom protocol handler in chrome
How do i set up a custom protocol handler in chrome? Something like:
myprotocol://testfile
I would need this to send a request to http://example.com?query=testfile, then send the httpresponse to my extension.

Test Tester
- 1,409
- 4
- 14
- 14
34
votes
3 answers
Valid characters for URI schemes?
I was thinking about Registering an Application to a URL Protocol and I'd like to know, what characters are allowed in a scheme?
Some examples:
h323 (has numbers)
h323:[@][:][;]
z39.50r (has a . as…

Camilo Martin
- 37,236
- 20
- 111
- 154
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
25
votes
2 answers
Detecting Custom Protocol Handler in Windows 8+ with Chrome
I am trying to detect if my application to handle a custom protocol is installed and working using the different browsers. I have looked at other questions on this site such as:
How to detect browser's protocol handlers?,
and have looked at…

PixelAcorn
- 494
- 8
- 26
17
votes
4 answers
Custom protocol in linux?
I am attempting to port one of my hobby project to linux. Preferrably to Mono since it is written in C#. But I am looking into Python as well.
One of the feature of the application is that it needs to associate with a custom protocol so the…

chakrit
- 61,017
- 25
- 133
- 162
14
votes
4 answers
Url protocol handler security warnings
I have a custom url protocol handler for urls of the form myhandler://path/to/something. This is registered to a locally installed client application that handles the requests and does "the right thing".
However, when I have a link of that form in…

StarBright
- 251
- 1
- 2
- 5
12
votes
1 answer
Where to call navigator.registerProtocolHandler?
How and where do I use navigator.registerProtocolHandler to make it work?
.
This topic suggests you can call the following function to add the custom protocol handler:
navigator.registerProtocolHandler('web+custom', 'http://example.com/rph?q=%s',…

Voy
- 5,286
- 1
- 49
- 59
9
votes
1 answer
Using CSP (Content Security Policy) with a custom protocol
I'm in a bit of a pinch, developing a fund broker site.
As part of our security policies, CSP is implemented across our servers, but now, we're implementing communication with desktop software supplied by Scandinavian banks (BankID).
With this, a…

Helge Talvik Söderström
- 2,573
- 4
- 35
- 48
8
votes
2 answers
Tools for experimental Protocol Design & Development?
Are there any open source, high level tools that would facilitate and simplify development of experimental network protocols (TCP/UDP) using a GUI?
Basically, something like a dynamic state machine editor that would allow you to define "packets",…

none
- 5,701
- 28
- 32
7
votes
1 answer
When i try to invoke my registered protocols one after other ,only one can invoke randomly
I have registered two protocols.
When i try to invoke both protocols in same event,only one invoke at a time in Chrome browser.
$(function () {
$("div[href]").click(function (event) {
debugger;
//for validation purpose.
…

rishabh gupta
- 109
- 4
6
votes
2 answers
Detect Custom Protocol handler in chrome 86
I have implemented a solution according to https://gist.github.com/aaronk6/d801d750f14ac31845e8 and it worked fine till chrome 85 .With latest chrome Update Onblur not detecting open protocol handler popup. Is there a way to identify Custom…

charitht99 perera
- 295
- 4
- 19
5
votes
1 answer
Not allowed to launch cutom protocol because a user gesture is required
I need to run my custom protocol twice but it doesn't work the second time, I got this error ( Not allowed to launch 'cutomProtocol' because user gesture is required. ) I tried to find a solution but I did not find any!
Same problem with chrome,…

Fatma
- 51
- 1
- 3
5
votes
2 answers
Haskell Binary Parsing
I've been trying to implement a protocol parser in haskell and I'm pretty new to the language, especially when it comes to monads. I've been using binary-0.5.0.2 and have described the header and all the payloads of my protocol. the messages I'd…

Charles Durham
- 1,707
- 11
- 17
5
votes
0 answers
Avoiding mixed content messages when using a custom URL Protocol from secure webpages
I'm researching how to use Custom URL Application Protocols (such as custom://) to launch my local installed application.
When I'm accessing my website on http (without SSL) everyting runs fine and when enetering the page the local application get's…

Bart
- 144
- 1
- 12
4
votes
2 answers
Android equivilent of ios message://
Using custom uri protocols in both iOS and Android we can open default apps from our own apps. For example to open the default maps app iOS gives us maps:// and on Android we have geo://.
I want to open the default mail client on each. For the…

gingerbreadboy
- 7,386
- 5
- 36
- 62