Questions tagged [custom-protocol]

83 questions
1
vote
1 answer

Is it a good idea to replace java.net.URL URLStreamHandlerFactory using reflection?

In Java we can register a custom protocol handler in at least two ways: by setting system property 'java.protocol.handler.pkgs' using URL.setURLStreamHandlerFactory For more details please check http://accu.org/index.php/journals/1434 I can not go…
1
vote
1 answer

URL Handler to replace an Applet

Currently my company has an applet that downloads a JAR file to open up and listen to changes in a chosen file, a .doc for example. Then, these changes are uploaded back to our server. Applets are dying and that is a big problem for us. We thought…
ViniciusPaiva
  • 151
  • 1
  • 13
1
vote
1 answer

Blank responseText in XMLHttpRequest when running in custom protocol in FireFox?

I am writing a FireFox add-on that displays webpages from my server as control and info panels. These panels were written and work in regular URLs, but when I try to access them through a custom protocol (so it's like about:, just…
Daniel
  • 1,188
  • 11
  • 22
1
vote
1 answer

C++ Application root when using custom protocol

I've create a C++ application on windows that is started through a custom protocol, using the following technique: http://msdn.microsoft.com/en-us/library/ie/aa767914(v=vs.85).aspx. It loads a config file using ifstream, that's located in the same…
Alexander
  • 1,332
  • 10
  • 17
1
vote
1 answer

Stomp ActiveMQ questions

I am new to Stomp ActiveMQ. I want to create a login from an android client and I don't know how to use ActiveMq. I\ve installed active mq, configured stomp and run the stompexample. 1. I have an error when running activemq from command line if I…
user1165435
  • 231
  • 2
  • 4
  • 11
0
votes
0 answers

Chrome/Firefox:- How To display the prompt that appear if you open Custom Protocol Handler again

This question is top up on question asked by @yo2011 Internet Explorer or Edge:- How To display the warning that appear if you open Custom Protocol Handler again When i click on a custom link such as foo:\ , and there is already a registered…
0
votes
0 answers

How to check application is installed or not from Chrome when "always allow such type of links in associated app" checkbox is checked?

we wanted to check whether application is installed or not on windows machine. When this checkbox is checked then next time when we try to detect whether app is installed or not using Blur method it triggers the fail callback even it opens the…
0
votes
1 answer

Can you POST to a user defined protocol URL?

Browsers enable you to define a user defined protocol handlers (e.g., moomoo://someplace.com?foo=1). Which browsers enable you to POST to a user defined protocol?
0
votes
2 answers

Connecting a desktop application with a website

I made an application using Qt/C++ that reads some values every 5-7 seconds and sends them to a website. My approach is very simple. I am just reading the values i want to send and then i make an HTTP POST to the website. I also send the username…
kechap
  • 2,077
  • 6
  • 28
  • 50
0
votes
0 answers

Detect custom protocol handler in chrome version 85+

Post chrome version 85 the blur event which used to occur if the custom protocol is registered does not occur. Hence I'm trying to find out if there is any way in which I could catch the err thrown when I try to change the window location. I want to…
0
votes
1 answer

What could be causing this Chrome security warning with a custom/external protocol?

I'm trying to diagnose a co-worker's issue where they are getting a security warning in Chrome when they try to open a URL with a particular custom protocol. They are seeing this warning: I initially thought maybe it was because of the double…
0
votes
2 answers

How many times should I retransmit a packet before assuming that it was lost?

I've been creating a reliable networking protocol similar to TCP, and was wondering what a good default value for a re-transmit threshold should be on a packet (the number of times I resend the packet before assuming that the connection was broken).…
bbosak
  • 5,353
  • 7
  • 42
  • 60
0
votes
0 answers

Check custom protocol exist or not

I have to identify whether custom protocol is installed or not, For that i tried protocolCheck.js and also i tried try { window.location = "custom:"; } catch (err) { if (err.toString().search("NS_ERROR_UNKNOWN_PROTOCOL") != -1) { …
Aniket Avhad
  • 4,025
  • 2
  • 23
  • 29
0
votes
1 answer

How can I pass cookie from Chrome to IE launched through custom protocol handler?

I have set up a custom protocol for Internet Explorer by following this thread (Open Internet Explorer from Chrome using a protocol handler (ie:url)), and I can launch the IE window by window.open('ie:https://****') to show the new page. However,…
0
votes
1 answer

How can I execute an url call from C# code on a ASP website on a ASCX page?

I need to call a Custom protocol (something like: "custom:signDocs?param1=value?param2=value") that is registered on a client. I have a working one that is executed via JavaScript on a button click. But I need to call the url to execute the program…
Erick Santander
  • 311
  • 3
  • 17