Only show mirroring context item on remote URLs

This commit is contained in:
hensm
2019-02-10 06:37:01 +00:00
parent 1c55b67922
commit 27e28b14fc

View File

@@ -91,6 +91,12 @@ async function createMenus () {
, id: "contextCast"
, title: _("contextCast")
, visible: options.mirroringEnabled
// Mirroring doesn't work from local files
, documentUrlPatterns: [
"http://*/*"
, "https://*/*"
]
});
}