From 27e28b14fcdc1fae547d2f0853f6c562d78482ac Mon Sep 17 00:00:00 2001 From: hensm Date: Sun, 10 Feb 2019 06:37:01 +0000 Subject: [PATCH] Only show mirroring context item on remote URLs --- ext/src/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/src/main.js b/ext/src/main.js index c0293bd..f573bf9 100755 --- a/ext/src/main.js +++ b/ext/src/main.js @@ -91,6 +91,12 @@ async function createMenus () { , id: "contextCast" , title: _("contextCast") , visible: options.mirroringEnabled + + // Mirroring doesn't work from local files + , documentUrlPatterns: [ + "http://*/*" + , "https://*/*" + ] }); }