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