Questions tagged [custom-url-protocol]

34 questions
2
votes
1 answer

Electron desktop app - load url by passing parameters - javascript

I want to authenticate user with custom URL schema in which the link looks like this appName://https://www.sitename.com/user-token I implemented custom url successfully in info.plist file so that when clicking appName:// open my destop app. My…
1
vote
1 answer

CustomURLProtocol in browser: how to call windows explorer with unc path

I registered a CustomURLProtocol fileexplorer in my registry. Its calling cmd /c set url=\"%1\" & call set url=%%url:fileexplorer:=%% & call start explorer file:%%url%%. Calling local folders works well. c:\mydata opens in the fileexplorer with the…
Fred
  • 417
  • 5
  • 16
1
vote
0 answers

Single Instance, already running WPF app: how to make it serve custom urls?

I have WPF app that can be only a Single Instance, I need to somehow handle custom URLs params in it? In the Windows schema shell/open/command I have "C:\Users\Any\AppData\Roaming\MyApp\MyApp.exe" --my-param="%1". When the app is not running it's…
Dpio
  • 11
  • 4
1
vote
0 answers

Is it possible to open Photoshop and an extension using custom url protocol?

I would like to create a button on a web page that will open Photoshop with an extension. I managed to open Photoshop via a button through this site: https://medium.com/swlh/custom-protocol-handling-how-to-8ac41ff651eb But I have not found how to…
Fitspade
  • 377
  • 1
  • 11
1
vote
0 answers

How to check using JavaScript that custom application is installed in the system?

I have installed a custom application in my system and I want to check..Is application is installed or registered in registry? I want to perform some action based on that status but I am unable to detect or read registry from Browser. I have gone…
Ambuj Khanna
  • 1,131
  • 3
  • 12
  • 32
1
vote
1 answer

Execute a jar from a custom URL protocol

I successfully created a custom URL protocol in Windows following this instructions that targets a simple jar that I created, I can run this jar manually by executing this command (java is in the PATH): java -jar test.jar But when I open an URL…
CIOC
  • 1,385
  • 3
  • 19
  • 48
1
vote
1 answer

How to open a custom scheme in android with java

I'm using this OAuth library https://github.com/openid/AppAuth-Android I've registered a custom scheme
1
vote
0 answers

safari can't open the specified address because Mac OS X doesn’t recognize Internet addresses starting with

We have an app with custom URL scheme, let's say "com.company.app". In a javascript file, we invoke the app by window.location = "com.company.app://";. If the app is not installed, Safari throws the erorr "Safari can't open the specified…
1
vote
2 answers

How to make JS wait until protocol execution finished

I have a custom URL protocol handler cgit:[...] It launches up a background process which configures some stuff on the local machine. The protocol works fine, i'm launching it from JavaScript (currently using document.location = 'cgit:[...]'), but i…
Leso_KN
  • 158
  • 13
0
votes
0 answers

How to download a file to the scoped storage of Android App running a Trusted Web Activity that displays my Progressive Web App?

I am working on an Android app that displays a Progressive Web App (PWA) through a Trusted Web Activity (TWA). The app uses scoped storage for security purposes. I need to provide a way for the user to download a file on clicking a button from the…
0
votes
0 answers

Register a custom URL protocol in Windows doesn't open my file?

I am trying to make a custom protocol to open my c# windows application through a web application following the first comment's steps here: How do I register a custom URL protocol in Windows? After setting everything up, I got to the last part where…
repinSlun
  • 69
  • 7
0
votes
1 answer

How to open email app to specific folder PowerShell?

I want to open the Windows Mail app to a specific folder within a specific account from PowerShell. Is this possible? I learned from this post that the mail program can be launched using the custom URI ms-unistore-email:. I can successfully launch…
0
votes
1 answer

unable to open local pdf file via custom url protocol

I have created a protocol handler to open acrobat reader dc . So as soon as a link in my webapp is clicked I am trying to launch acrobat with the local pdf file . mypdf:c:\test\form.pdf this is the url I hit This is the command in the protocol…
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
0 answers

Unit testing SSL pinning with URLProtocol

Aim: Unit test app's ssl pinning Approximate implementation aimed for: subclass URLProtocol Insert custom URLProtocol into Session's configuration Use session with custom config when generating requests catch the request and generate response with…