firefox: dont require approval to open xdg-open: URIs
This commit is contained in:
@@ -374,13 +374,11 @@ in
|
|||||||
// configure which extensions are visible by default (TODO: requires a lot of trial and error)
|
// configure which extensions are visible by default (TODO: requires a lot of trial and error)
|
||||||
// defaultPref("browser.uiCustomization.state", ...);
|
// defaultPref("browser.uiCustomization.state", ...);
|
||||||
|
|
||||||
// auto-open mpv:// URIs without prompting.
|
// auto-open specific URI schemes without prompting:
|
||||||
// can do this with other protocols too (e.g. matrix?). see about:config for common handlers.
|
defaultPref("network.protocol-handler.external.xdg-open", true); // for firefox-xdg-open extension
|
||||||
defaultPref("network.protocol-handler.external.mpv", true);
|
defaultPref("network.protocol-handler.external.mpv", true); // for open-in-mpv extension
|
||||||
// element:// for Element matrix client
|
defaultPref("network.protocol-handler.external.element", true); // for Element matrix client
|
||||||
defaultPref("network.protocol-handler.external.element", true);
|
defaultPref("network.protocol-handler.external.matrix", true); // for Nheko matrix client
|
||||||
// matrix: for Nheko matrix client
|
|
||||||
defaultPref("network.protocol-handler.external.matrix", true);
|
|
||||||
'';
|
'';
|
||||||
# instruct Firefox to put the profile in a predictable directory (so we can do things like persist just it).
|
# instruct Firefox to put the profile in a predictable directory (so we can do things like persist just it).
|
||||||
# XXX: the directory *must* exist, even if empty; Firefox will not create the directory itself.
|
# XXX: the directory *must* exist, even if empty; Firefox will not create the directory itself.
|
||||||
|
Reference in New Issue
Block a user