سؤال

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