I have added a extension in firefox, and Now, I want to use command line to launch firefox with chrome protocol schema.

firefox.exe chrome://xxx-extension/content/index.html?locale=default&id=1100

but above parameter can not work. which can work with chrome browser (chrome.exe)

So, how can I launch firefox to open extension local page?

有帮助吗?

解决方案

Obviously, It does not work. What you need to pay attention is the "chrome://", it's a custom schema which is registered in the OS to tell the OS which app it should launch.

For example, you can register your custom one in Window.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top