Questions tagged [protocol-handler]

Protocol handler handles the well defined or custom url protocol like myprotocol://SomeFolder/SomePage

The protocol handler can be registred by application like email client, torrent application, skype application and thus the application can be open from web by clicking on the link.

89 questions
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
11
votes
3 answers

How to change the version of Visual Studio when opening on github

I have both VS2015 and VS2017. When I choose "Open in Visual Studio" on GitHub I'd like to change it to use VS2017 instead of VS2015. How can I do this?
Don Box
  • 3,166
  • 3
  • 26
  • 55
11
votes
2 answers

How to quit itself in Objective-C application?

I have a URLHandler that launches some application, the main code is as follows. @implementation URLHandlerCommand - (id)performDefaultImplementation { NSString *urlString = [self directParameter]; NSLog(@"url :=: %@", urlString); …
prosseek
  • 182,215
  • 215
  • 566
  • 871
11
votes
1 answer

Workaround for "Visual Studio Web Request handler could not be found" when using github?

When I choose "Open in Visual Studio" on github, I get the following error: "Visual Studio Web Request handler could not be found" I believe this is due to the git-client protocol handler not being registered properly. There's a closed bug for…
Jon
  • 5,275
  • 5
  • 39
  • 51
10
votes
1 answer

Custom protocol handler does not work in MS Edge

We register custom protocol handler for our application. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Classes\testapp] @="URL: TestApp Protocol" "URL…
Volodymyr Bezuglyy
  • 16,295
  • 33
  • 103
  • 133
9
votes
1 answer

Custom protocol handlers Linux, Centos 7 for chrome

I have developed an application which is invoked on a button click on my website. I was using NPAPI for this task. However recently google has deprecated NPAPI so I called my application using custom protocol handler like "myapp://" On windows my…
Fahad Rauf
  • 705
  • 2
  • 8
  • 17
9
votes
1 answer

How do I properly register a protocol handler on Windows 8?

I have a small project to handle tel: protocol links. It's a desktop application, which I'm developing using Visual Studio 2013 Community Edition. Previously, I used to register the handler with a simple registry…
Oliver Salzburg
  • 21,652
  • 20
  • 93
  • 138
8
votes
1 answer

Electron protocol handler not working on windows

I’m trying to register a protocol handler using app.setAsDefaultProtocolClient and I’ve got it working fine on macOS but on windows 10 I get a dialog saying Error launching app Unable to find Electron app at 'C:\Program…
znap026
  • 429
  • 1
  • 5
  • 15
8
votes
3 answers

Office Protocol Handlers

Microsoft Office registers several protocol handlers such as ms-word, ms-excel, etc. Limited documentation is available here. I am attempting to use the Excel protocol handler to open a document passing it a file uri and not having much luck. I can…
codechurn
  • 3,870
  • 4
  • 45
  • 65
8
votes
1 answer

Visual Studio Protocol Handler - Open File

Does Visual Studio have a Protocol Handler that includes a command to open a specific file? They have one for Git clone, as described in Announcing the GitHub Extension for Visual Studio: The Open in Visual Studio button [in GitHub] calls a new…
7
votes
1 answer

Android WebView Protocol Handler

I am trying to develop an Android browser application using WebView which enables users to access content from a custom protocol. The custom protocol could be foobar:// I want to intercept all requests to this custom protocol. This means: GET…
6
votes
1 answer

Protocol handler with multiple arguments

I created an application to act as a protocol handler, the registry are set up according to http://msdn.microsoft.com/en-us/library/ie/aa767914(v=vs.85).aspx Then in the webpage I have something like: Test App If I click…
user2158723
  • 61
  • 2
  • 4
6
votes
5 answers

protocol handler

Requirement: We want to launch an external compare tool (like BeyondCompare or WinMerge) from a web page, through a button or link. The text file paths should be passed to the tool on its launch, so it understands them and opens them in the left and…
5
votes
3 answers

Programmatically retrieve list of installed apps that support a given file type

While it is clear we cannot retrieve a list of installed applications on iOS, are there any tricks to allow us to determine the list of apps registered for a given file type? That is, the list the user will see in the Open In... menu for that…
RealCasually
  • 3,593
  • 3
  • 27
  • 34
5
votes
1 answer

How to escape & ampersand in Custom protocol handler in Windows

I made a custom protocol handler following this link. The case is I need to open a link which can only be opened in IE and might contains several query parameters and should be opened in IE from our web app which is running on Chrome (this is really…