Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Possible to pass application arguments in handlers.json?

more options

Following the deprecation of the FTP protocol in Firefox I have, as a workaround, set Excel to open all ftp links in Firefox for me. However, ideally, I would like a custom PowerShell script to handle all ftp links for me in Firefox. But to do so you would have to pass arguments to an application (in this case PowerShell) in handlers.json file. I guess that is not possible, or am I wrong here?

Following the deprecation of the FTP protocol in Firefox I have, as a workaround, set Excel to open all ftp links in Firefox for me. However, ideally, I would like a custom PowerShell script to handle all ftp links for me in Firefox. But to do so you would have to pass arguments to an application (in this case PowerShell) in handlers.json file. I guess that is not possible, or am I wrong here?

Vybrané riešenie

Solved it by converting my PowerShell script to an exe program with PS2EXE.

Now it can handle all ftp url:s in Firefox.

Čítať túto odpoveď v kontexte 👍 0

Všetky odpovede (2)

more options

Vybrané riešenie

Solved it by converting my PowerShell script to an exe program with PS2EXE.

Now it can handle all ftp url:s in Firefox.

more options

That sounds easiest and also allows control of the icon.

What I have done with VBScript files is added a command line to the Registry along the lines of the following (for a custom protocol):

wscript.exe "C:\myscript.vbs" "%1"

I assume PowerShell has a similar command line.