From 4d7b9b981caa1f84e61801fc50693d9827eef320 Mon Sep 17 00:00:00 2001 From: kkapsner Date: Tue, 16 Jul 2019 13:40:08 +0200 Subject: [PATCH] Only show "Clear container" if they are available --- options/settingsDisplay.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/options/settingsDisplay.js b/options/settingsDisplay.js index 146687f..ff6daf5 100644 --- a/options/settingsDisplay.js +++ b/options/settingsDisplay.js @@ -96,7 +96,10 @@ }, { "name": "clearPersistentRnd", - "actions": ["clearPersistentRnd", "clearPersistentRndForContainer"], + "actions": [ + "clearPersistentRnd", + browser.contextualIdentities? "clearPersistentRndForContainer": false + ], "displayDependencies": [ { "blockMode": ["fake"],