Questions tagged [custom-protocol]
83 questions
3
votes
0 answers
Is there a way to get all registered protocol handlers in JS?
So I'm trying to make a web app that basically serves as a URL shortener, where I can use a custom protocol with navigator.registerProtocolHandler (I know that this isn't a very good idea for various reasons, but I just want to try messing around…

lxhom
- 650
- 4
- 15
3
votes
1 answer
How do I handle a custom protocol not being installed on Safari still triggering the onblur event?
I have a custom protocol checker that checks if a protocol is installed.
For Safari (same as chrome) it focuses on an element, fires the protocol and listens for onblur.
However in Safari if the protocol is not installed the browser throws an alert…

alasdair009
- 95
- 9
3
votes
2 answers
Custom Protocol in Firefox WebExtensions
I have a old addons to Firefox that registry a custom protocol "linkpassword://"
Since Firefox Version 57 the addon stop working and I have to rewrite the full addons as a Firefox WebExtenstion.
My issue is I can't find a way to registry a handler…

FIG-GHD742
- 2,486
- 1
- 19
- 27
3
votes
0 answers
Implementing custom protocol stack in linux kernel
We have implemented custom protocol for a sensors network on STM32 microcontroller platform and it came a time that it would be nice to port that protocol stack into the linux kernel.
The situation is this: We have a custom radio transmitter with…

Rytis Karpuška
- 51
- 4
2
votes
1 answer
Reading Split TCP Packets
I have written most of the code to handle incoming packets for my server. The format for packets is always int/int/int/string/string, and the first int is the size of the packet. I need to figure out some way to check and see if the entire packet…
user470760
2
votes
1 answer
Protocol Check is not invoking from success callback of previous protocol check
It behaves inconsistent with respect to browsers.
Google Chrome: Can invoke first one but cannot invoke another one.
$(function () {
$("div[href]").click(function (event) {
debugger;
window.protocolCheck("abcd:",
…

rishabh gupta
- 109
- 4
2
votes
1 answer
Custom URL Protocol avoiding security warnings
I'm researching whether it would be possible to use Custom URL Application Protocols (such as custom://) to launch my application but it looks like all implementations modify the HKCR. This causes some nasty security warnings (I believe because of…

Tim
- 159
- 2
- 11
2
votes
0 answers
How to run insalled electron app from web browser with a custom url protocol
I'm developing a electron app and I want to register my Electron app to open via custom url protocol. I need to register my application in registry in a button click event and need to open the app via registered protocol from a eb browser later. I…

Lahiru Gambheera
- 331
- 2
- 6
2
votes
1 answer
Is there possibility to ask OS to start application as administrator through a custom protocol?
I have an application FOO that does not usually need admin permissions. And also I have a link within website that allows me to start this FOO application.
By default that FOO is started with permissions of a user.
The only way to start FOO is by…

Sasha Reminnyi
- 3,442
- 2
- 23
- 27
2
votes
0 answers
How to create custom URI handler to retrieve image resources in DLL file?
I have several image files embedded as resources in a DLL file! I want to create my own custom protocol handler to be able to write HTML code to access these resources.
For example, on a computer where this DLL is located I want to be able to (in…

nelshh
- 1,021
- 1
- 11
- 15
2
votes
1 answer
String version of term_to_binary
I'm trying to write a simple server that talks to clients via tcp. I have it sending messages around just fine, but now I want it to interpret the messages as Erlang data types. For example, pretend it's HTTP-like (it's not) and that I want to send…

nmichaels
- 49,466
- 12
- 107
- 135
2
votes
2 answers
Issue in passing argument to custom protocol through href?
I have created a custom protocol by name "myapp" and trying to pass arguments to it via href tag as Click here.
myapp protocol is as described below:
[HKEY_CLASSES_ROOT\myapp]
@="\"URL:Alert Protocol\""
"URL…

Rahmath Unissa
- 21
- 2
2
votes
0 answers
Detecting protocol handler with Javascript
Foreword: I am not a Windows/software developer. I am just a Web Dev with Javascript skills, so I know that I may not understand the ins and outs of protocol handlers.
I am part of a team that has created a piece of software that installs a protocol…

Fillip Peyton
- 3,637
- 2
- 32
- 60
2
votes
2 answers
Implementing communication protocol in Java using state pattern design
Apologies if this is answered elsewhere; couldn't find enough information to convince myself of the best way to do this. I also realize this is a lengthy explanation with no code, but let me know if I should whip up some sample code to help…

jasterm007
- 163
- 3
- 9
1
vote
1 answer
How to add a custom URL scheme programmatically on macOS?
I need to create a URL scheme that will allow me to open a file with its default software.
For this, I have an .app file that contains the function to open a file via a sent parameter:
myCustomProtocol://Users/xxx/indesign/A.indd
So I managed to…

Fitspade
- 377
- 1
- 11