mime.urlAssociations: clarify regexes by using $ terminator
This commit is contained in:
@@ -244,15 +244,15 @@ in
|
|||||||
mime.associations."video/x-flv" = "mpv.desktop";
|
mime.associations."video/x-flv" = "mpv.desktop";
|
||||||
mime.associations."video/x-matroska" = "mpv.desktop";
|
mime.associations."video/x-matroska" = "mpv.desktop";
|
||||||
#v be the opener for YouTube videos
|
#v be the opener for YouTube videos
|
||||||
mime.urlAssociations."^https?://(m\.)?(www\.)?youtu.be/.+" = "mpv.desktop";
|
mime.urlAssociations."^https?://(m\.)?(www\.)?youtu.be/.+$" = "mpv.desktop";
|
||||||
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/embed/.+" = "mpv.desktop";
|
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/embed/.+$" = "mpv.desktop";
|
||||||
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/playlist\?.*list=.+" = "mpv.desktop";
|
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/playlist\?.*list=.+$" = "mpv.desktop";
|
||||||
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/shorts/.+" = "mpv.desktop";
|
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/shorts/.+$" = "mpv.desktop";
|
||||||
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/v/.+" = "mpv.desktop";
|
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/v/.+$" = "mpv.desktop";
|
||||||
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/watch\?.*v=.+" = "mpv.desktop";
|
mime.urlAssociations."^https?://(m\.)?(www\.)?youtube.com/watch\?.*v=.+$" = "mpv.desktop";
|
||||||
#v be the opener for A/V, generally. useful for e.g. feed readers like News Flash which open content through the portal
|
#v be the opener for A/V, generally. useful for e.g. feed readers like News Flash which open content through the portal
|
||||||
mime.urlAssociations."^https?://.*\.(mp3|mp4|ogg|ogv|opus|webm)(\\?.*)?$" = "mpv.desktop";
|
mime.urlAssociations."^https?://.*\.(mp3|mp4|ogg|ogv|opus|webm)(\\?.*)?$" = "mpv.desktop";
|
||||||
#v Loupe image viewer can't open URIs, so use mpv instead
|
#v Loupe image viewer can't open URIs, so use mpv instead
|
||||||
mime.urlAssociations."^https?://i\.imgur.com/.+" = "mpv.desktop";
|
mime.urlAssociations."^https?://i\.imgur.com/.+$" = "mpv.desktop";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -18,6 +18,6 @@
|
|||||||
persist.byStore.ephemeral = [
|
persist.byStore.ephemeral = [
|
||||||
".local/share/tor-browser"
|
".local/share/tor-browser"
|
||||||
];
|
];
|
||||||
mime.urlAssociations."^https?://.+\.onion" = "torbrowser.desktop";
|
mime.urlAssociations."^https?://.+\.onion$" = "torbrowser.desktop";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user