From ca5a5f32a636f5b2479488f56e1c53d01a7a376b Mon Sep 17 00:00:00 2001 From: Laurent Espitallier Date: Wed, 9 Aug 2017 20:28:59 +0200 Subject: [PATCH] about:reader url --- background.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/background.js b/background.js index 6ce5073..d952459 100644 --- a/background.js +++ b/background.js @@ -55,7 +55,7 @@ browser.contextMenus.create({ onclick: function(){ browser.tabs.query({ currentWindow: true, active: true }, function(tabs) { tab = tabs[0]; - if(tab.url.includes("about:") == true){ + if(tab.url.includes("about:reader?url=") == true){ shareURL("",tab); } else @@ -70,7 +70,7 @@ browser.contextMenus.create({ }); browser.browserAction.onClicked.addListener((tab) => { - if(tab.url.includes("about:") == true){ + if(tab.url.includes("about:reader?url=") == true){ shareURL("",tab); } else