mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Only show mirroring context item on remote URLs
This commit is contained in:
@@ -91,6 +91,12 @@ async function createMenus () {
|
|||||||
, id: "contextCast"
|
, id: "contextCast"
|
||||||
, title: _("contextCast")
|
, title: _("contextCast")
|
||||||
, visible: options.mirroringEnabled
|
, visible: options.mirroringEnabled
|
||||||
|
|
||||||
|
// Mirroring doesn't work from local files
|
||||||
|
, documentUrlPatterns: [
|
||||||
|
"http://*/*"
|
||||||
|
, "https://*/*"
|
||||||
|
]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user